aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-19 19:30:41 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-19 19:30:41 +0000
commitf4dc006fb55a9c586869eb5dc5a550fe207ec7ee (patch)
treed533183430da2afa75f9921e958c183cd26342a4 /src/common/compat.h
parentb98c437fcc98a3e756706f3acbe419293e5c5a7f (diff)
downloadtor-f4dc006fb55a9c586869eb5dc5a550fe207ec7ee.tar
tor-f4dc006fb55a9c586869eb5dc5a550fe207ec7ee.tar.gz
r18198@catbus: nickm | 2008-02-19 14:30:30 -0500
Try to *fix* the socket counting problem, and add an info log to detect whether we really fixed it svn:r13580
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 7a00edefe..c705e047d 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -255,7 +255,7 @@ int touch_file(const char *fname);
/* ===== Net compatibility */
-void tor_close_socket(int s);
+int tor_close_socket(int s);
int tor_open_socket(int domain, int type, int protocol);
int get_n_open_sockets(void);