aboutsummaryrefslogtreecommitdiff
path: root/src/or/buffers.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-05-01 20:55:31 +0000
committerNick Mathewson <nickm@torproject.org>2004-05-01 20:55:31 +0000
commit6fa2ded74c632ea6f408ffbcac49f4e921d9b802 (patch)
tree470ef1bdc6f7daf764784864f05e385c46dc5726 /src/or/buffers.c
parent908ccb9dcdff19c6015a31726d2db5db5fef3ede (diff)
downloadtor-6fa2ded74c632ea6f408ffbcac49f4e921d9b802.tar.gz
tor-6fa2ded74c632ea6f408ffbcac49f4e921d9b802.zip
Fix windows compile
svn:r1757
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r--src/or/buffers.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index 931a83b0ff..280c1794e5 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -171,9 +171,6 @@ void buf_free(buf_t *buf) {
int read_to_buf(int s, size_t at_most, buf_t *buf, int *reached_eof) {
int read_result;
-#ifdef MS_WINDOWS
- int e;
-#endif
assert_buf_ok(buf);
tor_assert(reached_eof && (s>=0));
@@ -244,9 +241,6 @@ int flush_buf(int s, buf_t *buf, int *buf_flushlen)
* return -1 or how many bytes you just flushed */
int write_result;
-#ifdef MS_WINDOWS
- int e;
-#endif
assert_buf_ok(buf);
tor_assert(buf_flushlen && (s>=0) && ((unsigned)*buf_flushlen <= buf->datalen));