summaryrefslogtreecommitdiff
path: root/src/libstddjb/socket_timeoutconn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/socket_timeoutconn.c')
-rw-r--r--src/libstddjb/socket_timeoutconn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/socket_timeoutconn.c b/src/libstddjb/socket_timeoutconn.c
index 5f9f0cd..854a635 100644
--- a/src/libstddjb/socket_timeoutconn.c
+++ b/src/libstddjb/socket_timeoutconn.c
@@ -5,7 +5,7 @@
int socket_timeoutconn (int s, char const *ip, uint16_t port, unsigned int timeout)
{
- tain_t stamp, deadline ;
+ tain stamp, deadline ;
tain_now(&stamp) ;
tain_addsec(&deadline, &stamp, timeout) ;
return socket_deadlineconnstamp4(s, ip, port, &deadline, &stamp) ;