summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2013-01-15 15:40:17 -0500
committerRoger Dingledine <arma@torproject.org>2013-01-15 15:40:17 -0500
commit6e4a4002c5f988615299f0160ff4bbfb9dfdda3e (patch)
tree99949e023db9ecebfa8c855a74e76dc323fc684e /src/common/compat.h
parent23dd7c901287d7d8282945cb22950a39f5bcdfd2 (diff)
downloadtor-6e4a4002c5f988615299f0160ff4bbfb9dfdda3e.tar.gz
tor-6e4a4002c5f988615299f0160ff4bbfb9dfdda3e.zip
Clean up odds and ends
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index f597c122c2..af6bc755d6 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -546,7 +546,8 @@ const char *tor_socket_strerror(int e);
#endif
#define ERRNO_IS_EINPROGRESS(e) ((e) == EINPROGRESS)
#define ERRNO_IS_CONN_EINPROGRESS(e) ((e) == EINPROGRESS)
-#define ERRNO_IS_ACCEPT_EAGAIN(e) (ERRNO_IS_EAGAIN(e) || (e) == ECONNABORTED)
+#define ERRNO_IS_ACCEPT_EAGAIN(e) \
+ (ERRNO_IS_EAGAIN(e) || (e) == ECONNABORTED)
#define ERRNO_IS_ACCEPT_RESOURCE_LIMIT(e) \
((e) == EMFILE || (e) == ENFILE || (e) == ENOBUFS || (e) == ENOMEM)
#define ERRNO_IS_EADDRINUSE(e) ((e) == EADDRINUSE)