Unify paramters in tcp_set_user_timeout()

Use the same function definition as in the other tcp setters.
This commit is contained in:
Peter Lieven
2012-10-20 19:12:13 +02:00
parent 20cf2b279e
commit d30b279474

View File

@@ -572,9 +572,9 @@ void iscsi_set_tcp_syncnt(struct iscsi_context *iscsi, int value)
DPRINTF(iscsi,2,"TCP_SYNCNT will be set to %d on next socket creation",value);
}
void iscsi_set_tcp_user_timeout(struct iscsi_context *iscsi, int timeout_ms)
void iscsi_set_tcp_user_timeout(struct iscsi_context *iscsi, int value)
{
iscsi->tcp_user_timeout=timeout_ms;
iscsi->tcp_user_timeout=value;
DPRINTF(iscsi,2,"TCP_USER_TIMEOUT will be set to %dms on next socket creation",timeout_ms);
}