mirror of
https://github.com/libssh2/libssh2.git
synced 2026-01-06 14:21:57 +03:00
tidy-up: unsigned -> unsigned int
In the `interval` argument of public `libssh2_keepalive_config()`. Tested via #1257
This commit is contained in:
@@ -10,7 +10,7 @@ libssh2_keepalive_config - short function description
|
||||
void
|
||||
libssh2_keepalive_config(LIBSSH2_SESSION *session,
|
||||
int want_reply,
|
||||
unsigned interval);
|
||||
unsigned int interval);
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
Set how often keepalive messages should be sent. \fBwant_reply\fP indicates
|
||||
|
||||
@@ -1416,7 +1416,7 @@ libssh2_agent_get_identity_path(LIBSSH2_AGENT *agent);
|
||||
*/
|
||||
LIBSSH2_API void libssh2_keepalive_config(LIBSSH2_SESSION *session,
|
||||
int want_reply,
|
||||
unsigned interval);
|
||||
unsigned int interval);
|
||||
|
||||
/*
|
||||
* libssh2_keepalive_send()
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
LIBSSH2_API void
|
||||
libssh2_keepalive_config(LIBSSH2_SESSION *session,
|
||||
int want_reply,
|
||||
unsigned interval)
|
||||
unsigned int interval)
|
||||
{
|
||||
if(interval == 1)
|
||||
session->keepalive_interval = 2;
|
||||
|
||||
Reference in New Issue
Block a user