summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-30 14:58:26 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-30 14:58:26 -0400
commit21de9d46e264ceb14f3fe59d17210d82f2499637 (patch)
tree225afa4993f268fc867d922e646f0449cedebf1c /src/common/util.h
parent5dc3c462dcf42488055685e7f4fdb4a1a48003f1 (diff)
parentda7c60dcf310fb9914bfd1b84a34b440ab04900a (diff)
downloadtor-21de9d46e264ceb14f3fe59d17210d82f2499637.tar.gz
tor-21de9d46e264ceb14f3fe59d17210d82f2499637.zip
Merge remote-tracking branch 'origin/maint-0.2.2'
Conflicts: src/common/compat.c src/or/main.c
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.h b/src/common/util.h
index e8d5de2ef4..4495c02232 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -276,8 +276,8 @@ typedef struct ratelim_t {
char *rate_limit_log(ratelim_t *lim, time_t now);
/* File helpers */
-ssize_t write_all(int fd, const char *buf, size_t count, int isSocket);
-ssize_t read_all(int fd, char *buf, size_t count, int isSocket);
+ssize_t write_all(tor_socket_t fd, const char *buf, size_t count, int isSocket);
+ssize_t read_all(tor_socket_t fd, char *buf, size_t count, int isSocket);
/** Return values from file_status(); see that function's documentation
* for details. */