From 6e4a4002c5f988615299f0160ff4bbfb9dfdda3e Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 15 Jan 2013 15:40:17 -0500 Subject: Clean up odds and ends --- src/common/compat.h | 3 ++- src/common/crypto_curve25519.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/compat.h b/src/common/compat.h index f597c122c..af6bc755d 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) diff --git a/src/common/crypto_curve25519.c b/src/common/crypto_curve25519.c index aead4f8ba..e9d24d61e 100644 --- a/src/common/crypto_curve25519.c +++ b/src/common/crypto_curve25519.c @@ -208,3 +208,4 @@ curve25519_public_from_base64(curve25519_public_key_t *pkey, return -1; } } + -- cgit v1.2.3