Silence compiler warning.
This commit is contained in:
parent
cdc1366b2c
commit
e4232e531b
@ -148,7 +148,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (!channel) {
|
||||
char *errmsg;
|
||||
int *errlen;
|
||||
int errlen;
|
||||
int err = libssh2_session_last_error(session, &errmsg, &errlen, 0);
|
||||
fprintf(stderr, "Unable to open a session: (%d) %s\n", err, errmsg);
|
||||
goto shutdown;
|
||||
|
Loading…
x
Reference in New Issue
Block a user