keepalive.c: Fix libssh2_error usage.

This commit is contained in:
Simon Josefsson 2010-03-10 13:16:32 +01:00
parent 60ff0a2ade
commit 4cfeade243

View File

@ -81,7 +81,7 @@ libssh2_keepalive_send (LIBSSH2_SESSION *session,
already full, sending another keepalive is not useful. */
if (rc && rc != PACKET_EAGAIN) {
libssh2_error(session, LIBSSH2_ERROR_SOCKET_SEND,
"Unable to send keepalive message", 0);
"Unable to send keepalive message");
return rc;
}