fix copy/paste error in debugging messages

This commit is contained in:
cy384 2021-08-03 12:05:57 -04:00
parent 8851017e36
commit 6c65220331
1 changed files with 2 additions and 2 deletions

View File

@ -98,9 +98,9 @@ const char* libssh2_error_string(int i)
case LIBSSH2_ERROR_OUT_OF_BOUNDARY:
return "LIBSSH2_ERROR_OUT_OF_BOUNDARY";
case LIBSSH2_ERROR_AGENT_PROTOCOL:
return "LIBSSH2_ERROR_SOCKET_RECV";
return "LIBSSH2_ERROR_AGENT_PROTOCOL";
case LIBSSH2_ERROR_SOCKET_RECV:
return "LIBSSH2_ERROR_ENCRYPT";
return "LIBSSH2_ERROR_SOCKET_RECV";
case LIBSSH2_ERROR_ENCRYPT:
return "LIBSSH2_ERROR_ENCRYPT";
case LIBSSH2_ERROR_BAD_SOCKET: