about summary refs log tree commit diff
path: root/socket
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-03-06 20:54:57 +0000
committerRoland McGrath <roland@gnu.org>2005-03-06 20:54:57 +0000
commit4474b9a1c34659549e527cc72bcfb8c58023e33c (patch)
treeafef3af19a6ae8aaf733629337c213831e7299f7 /socket
parentbeaa52cb4b40dc2bcd6526b825833b85ac290b48 (diff)
downloadglibc-4474b9a1c34659549e527cc72bcfb8c58023e33c.tar.gz
glibc-4474b9a1c34659549e527cc72bcfb8c58023e33c.tar.xz
glibc-4474b9a1c34659549e527cc72bcfb8c58023e33c.zip
Typo fixes.
Diffstat (limited to 'socket')
-rw-r--r--socket/bits/socket2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/socket/bits/socket2.h b/socket/bits/socket2.h
index 6998dca20d..aec41b3a96 100644
--- a/socket/bits/socket2.h
+++ b/socket/bits/socket2.h
@@ -24,14 +24,14 @@
 extern void __chk_fail (void) __attribute__((noreturn));
 #define recv(fd, buf, n, flags) \
   (__extension__							      \
-    ({ size_t __n_val = (__n);				  		      \
+    ({ size_t __n_val = (n);				  		      \
        if (__bos0 (buf) != (size_t) -1 && __bos0 (buf) < __n_val)	      \
          __chk_fail ();							      \
-       recv (fd, buf, __n_val, flags); }))
+       recv ((fd), (buf), __n_val, (flags)); }))
 
 #define recvfrom(fd, buf, n, flags, addr, addr_len) \
   (__extension__							      \
-    ({ size_t __n_val = (__n);				  		      \
+    ({ size_t __n_val = (n);				  		      \
        if (__bos0 (buf) != (size_t) -1 && __bos0 (buf) < __n_val)	      \
          __chk_fail ();							      \
-       recvfrom (fd, buf, __n_val, flags, addr, addr_len); }))
+       recvfrom ((fd, (buf), __n_val, (flags), (addr), (addr_len)); }))