1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-21 14:00:51 +03:00

make function match the new proto

This commit is contained in:
Daniel Stenberg
2010-03-01 11:42:04 +01:00
parent a925bdd5bb
commit a9621548f8

View File

@@ -49,7 +49,7 @@
#include <errno.h> #include <errno.h>
int libssh2_error(LIBSSH2_SESSION* session, int errcode, char* errmsg, int libssh2_error(LIBSSH2_SESSION* session, int errcode, const char* errmsg,
int should_free) int should_free)
{ {
if (session->err_msg && session->err_should_free) { if (session->err_msg && session->err_should_free) {