summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-12-02 16:10:17 -0500
committerNick Mathewson <nickm@torproject.org>2011-12-02 16:10:17 -0500
commitd9edee3a3b98eaae5192f1307197d1a33122ec61 (patch)
tree090d61bc682dd2f1eded88a8dcd1b6fa232c95b2 /src/common/compat.h
parentf78fc8cfb4de9dac3d806c22fc577c8103df2420 (diff)
parent2b5a0356047e7622c66e434cd8ac4a7689d4cc28 (diff)
downloadtor-d9edee3a3b98eaae5192f1307197d1a33122ec61.tar.gz
tor-d9edee3a3b98eaae5192f1307197d1a33122ec61.zip
Merge remote-tracking branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index db541623d3..a228a46cf8 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -408,7 +408,7 @@ typedef int socklen_t;
int tor_close_socket(tor_socket_t s);
tor_socket_t tor_open_socket(int domain, int type, int protocol);
-tor_socket_t tor_accept_socket(int sockfd, struct sockaddr *addr,
+tor_socket_t tor_accept_socket(tor_socket_t sockfd, struct sockaddr *addr,
socklen_t *len);
int get_n_open_sockets(void);