Skip to content
Permalink
Browse files

Make sure the error code is set

  • Loading branch information...
mark-i-m committed Jun 25, 2019
1 parent 53ff2e6 commit fc07bf0c95ce4872d556bd99b4d97b14e719743a
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/channel.c
@@ -236,6 +236,7 @@ _libssh2_channel_open(LIBSSH2_SESSION * session, const char *channel_type,
return NULL;
}
else if(rc) {
_libssh2_error(session, rc, "Unexpected error");
goto channel_error;
}

0 comments on commit fc07bf0

Please sign in to comment.
You can’t perform that action at this time.