1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

packet: Remove logically dead code.

CID #1128796
This commit is contained in:
Andreas Schneider
2013-11-27 20:14:02 +01:00
parent 23837b2080
commit 84e29f9c06

View File

@@ -326,9 +326,7 @@ int ssh_packet_socket_callback(const void *data, size_t receivedlen, void *user)
receivedlen-processed);
packet = ((uint8_t*)data) + processed;
if (packet == NULL) {
goto error;
}
rc = ssh_packet_socket_callback(packet, receivedlen - processed,user);
processed += rc;
}