summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-19 23:01:07 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-19 23:01:07 +0000
commit9479dd376889c9d2cfb25bae8bd8b0a570118b3f (patch)
tree38b2451c138ed53a6bccecf9794e64d38af7721c /src/common/compat.h
parentd1a195d3cb5201ef66d3aa3b71fecde7f2083ff2 (diff)
downloadtor-9479dd376889c9d2cfb25bae8bd8b0a570118b3f.tar.gz
tor-9479dd376889c9d2cfb25bae8bd8b0a570118b3f.zip
r18226@catbus: nickm | 2008-02-19 18:01:01 -0500
Brown-paper-bag time. We were failing to count all the sockets from accept(). svn:r13595
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index c705e047d5..7be7fddcdd 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -257,6 +257,7 @@ int touch_file(const char *fname);
int tor_close_socket(int s);
int tor_open_socket(int domain, int type, int protocol);
+int tor_accept_socket(int sockfd, struct sockaddr *addr, socklen_t *len);
int get_n_open_sockets(void);
#ifdef USE_BSOCKETS