mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-20 02:42:09 +03:00
make function match the new proto
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user