Unify paramters in tcp_set_user_timeout()
Use the same function definition as in the other tcp setters.
This commit is contained in:
@@ -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);
|
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);
|
DPRINTF(iscsi,2,"TCP_USER_TIMEOUT will be set to %dms on next socket creation",timeout_ms);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user