1
0
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:
Viktor Szakats
2023-12-01 14:41:33 +00:00
parent eb996af851
commit b136c37998
3 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -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()

View File

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