comment typo and some indent fixes
This commit is contained in:
parent
f7149d1830
commit
e367e1ad4e
@ -1168,9 +1168,10 @@ libssh2_session_last_error(LIBSSH2_SESSION * session, char **errmsg,
|
|||||||
return session->err_code;
|
return session->err_code;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* libssh2_session_last_error
|
/* libssh2_session_last_errno
|
||||||
* Returns error code
|
*
|
||||||
*/
|
* Returns error code
|
||||||
|
*/
|
||||||
LIBSSH2_API int
|
LIBSSH2_API int
|
||||||
libssh2_session_last_errno(LIBSSH2_SESSION * session)
|
libssh2_session_last_errno(LIBSSH2_SESSION * session)
|
||||||
{
|
{
|
||||||
@ -1178,8 +1179,11 @@ libssh2_session_last_errno(LIBSSH2_SESSION * session)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* libssh2_session_flag
|
/* libssh2_session_flag
|
||||||
|
*
|
||||||
* Set/Get session flags
|
* Set/Get session flags
|
||||||
* Passing flag==0 will avoid changing session->flags while still returning its current value
|
*
|
||||||
|
* Passing flag==0 will avoid changing session->flags while still returning
|
||||||
|
* its current value
|
||||||
*/
|
*/
|
||||||
LIBSSH2_API int
|
LIBSSH2_API int
|
||||||
libssh2_session_flag(LIBSSH2_SESSION * session, int flag, int value)
|
libssh2_session_flag(LIBSSH2_SESSION * session, int flag, int value)
|
||||||
|
Loading…
Reference in New Issue
Block a user