summaryrefslogtreecommitdiff
path: root/ext/socket/sockport.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/sockport.h')
-rw-r--r--ext/socket/sockport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/sockport.h b/ext/socket/sockport.h
index 99bec91a1a2..1639fcf8285 100644
--- a/ext/socket/sockport.h
+++ b/ext/socket/sockport.h
@@ -37,7 +37,7 @@
# define SET_SIN_LEN(si,len) (si)->sin_len = (len)
#else
# define SIN_LEN(si) sizeof(struct sockaddr_in)
-# define SET_SIN_LEN(si,len) (len)
+# define SET_SIN_LEN(si,len)
#endif
#endif