summaryrefslogtreecommitdiffstats
path: root/src/packet.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-06-18 17:17:23 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-06-18 17:17:23 +0200
commit6dae8baefce003ac5bf0696a75cf71857a704fa5 (patch)
tree460df58e5280cdb0c9bb8ba4a923322d08bf5d8b /src/packet.c
parent94a8c30feb8ebd9bccf13834e2a2b38ba411a7e6 (diff)
downloadlibssh-6dae8baefce003ac5bf0696a75cf71857a704fa5.tar.gz
libssh-6dae8baefce003ac5bf0696a75cf71857a704fa5.tar.xz
libssh-6dae8baefce003ac5bf0696a75cf71857a704fa5.zip
src: Add fall trough comments.
Diffstat (limited to 'src/packet.c')
-rw-r--r--src/packet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/packet.c b/src/packet.c
index d4f4d835..440e47c6 100644
--- a/src/packet.c
+++ b/src/packet.c
@@ -187,6 +187,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 */
case PACKET_STATE_SIZEREAD:
len = session->in_packet.len;
to_be_read = len - blocksize + sizeof(uint32_t) + current_macsize;