Silence compiler warning.

This commit is contained in:
Simon Josefsson 2010-02-23 15:49:47 +01:00
parent cdc1366b2c
commit e4232e531b

View File

@ -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;