mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
@@ -326,9 +326,7 @@ int ssh_packet_socket_callback(const void *data, size_t receivedlen, void *user)
|
|||||||
receivedlen-processed);
|
receivedlen-processed);
|
||||||
|
|
||||||
packet = ((uint8_t*)data) + processed;
|
packet = ((uint8_t*)data) + processed;
|
||||||
if (packet == NULL) {
|
|
||||||
goto error;
|
|
||||||
}
|
|
||||||
rc = ssh_packet_socket_callback(packet, receivedlen - processed,user);
|
rc = ssh_packet_socket_callback(packet, receivedlen - processed,user);
|
||||||
processed += rc;
|
processed += rc;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user