summaryrefslogtreecommitdiff
path: root/setup_once.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-01-27 01:56:57 (GMT)
committerYang Tse <yangsita@gmail.com>2007-01-27 01:56:57 (GMT)
commit3445be63166394e6855941d1bb249e275f4f2770 (patch)
tree5346a14acfd99d7e8b476fc012a45adbf79880a5 /setup_once.h
parentf8c4607cef42979b6d7f6f9353b46c90a54165df (diff)
downloadc-ares-3445be63166394e6855941d1bb249e275f4f2770.zip
c-ares-3445be63166394e6855941d1bb249e275f4f2770.tar.gz
c-ares-3445be63166394e6855941d1bb249e275f4f2770.tar.bz2
sync with lib/setup_once.h
Diffstat (limited to 'setup_once.h')
-rw-r--r--setup_once.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup_once.h b/setup_once.h
index 7c22b2a..09f0865 100644
--- a/setup_once.h
+++ b/setup_once.h
@@ -3,7 +3,7 @@
/* $Id$ */
-/* Copyright (C) 2004 - 2006 by Daniel Stenberg et al
+/* Copyright (C) 2004 - 2007 by Daniel Stenberg et al
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted, provided
@@ -29,7 +29,7 @@
/*
* If we have the MSG_NOSIGNAL define, make sure we use
- * it as the fourth argument of send() and recv()
+ * it as the fourth argument of function send()
*/
#ifdef HAVE_MSG_NOSIGNAL
@@ -74,7 +74,7 @@
#define sread(x,y,z) (ssize_t)recv((RECV_TYPE_ARG1)(x), \
(RECV_TYPE_ARG2)(y), \
(RECV_TYPE_ARG3)(z), \
- (RECV_TYPE_ARG4)(SEND_4TH_ARG))
+ (RECV_TYPE_ARG4)(0))
#endif
#else /* HAVE_RECV */
#ifndef sread