aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2017-08-25 10:05:18 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-08-25 10:06:00 +0200
commit2493e962fe9c580a8690e03b1e1635bd9f6c961a (patch)
tree40c31b9d6085fce45f15674ab4bb4df4fa8b29ab /src
parenta9846ccc0d559af3db6dba07f2183219c846b617 (diff)
downloadlibssh-2493e962fe9c580a8690e03b1e1635bd9f6c961a.tar.gz
libssh-2493e962fe9c580a8690e03b1e1635bd9f6c961a.tar.xz
libssh-2493e962fe9c580a8690e03b1e1635bd9f6c961a.zip
packet: Fix fallthrough compiler warnings
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
-rw-r--r--src/packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packet.c b/src/packet.c
index 33943aef..6e84dc80 100644
--- a/src/packet.c
+++ b/src/packet.c
@@ -220,7 +220,7 @@ int ssh_packet_socket_callback(const void *data, size_t receivedlen, void *user)
/* Saves the status of the current operations */
session->in_packet.len = len;
session->packet_state = PACKET_STATE_SIZEREAD;
- /* FALL TROUGH */
+ FALL_THROUGH;
case PACKET_STATE_SIZEREAD:
len = session->in_packet.len;
to_be_read = len - blocksize + sizeof(uint32_t) + current_macsize;