summaryrefslogtreecommitdiff
path: root/src/libstddjb/socket_tcp6.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/socket_tcp6.c')
-rw-r--r--src/libstddjb/socket_tcp6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/socket_tcp6.c b/src/libstddjb/socket_tcp6.c
index fd282fc..df6dd86 100644
--- a/src/libstddjb/socket_tcp6.c
+++ b/src/libstddjb/socket_tcp6.c
@@ -18,7 +18,7 @@ int socket_tcp6_internal (unsigned int flags)
int option = 1 ;
if (setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, &option, sizeof(option)) < 0)
{
- register int e = errno ;
+ int e = errno ;
fd_close(fd) ;
errno = e ;
return -1 ;