aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-06-18 20:39:46 +0000
committerNick Mathewson <nickm@torproject.org>2006-06-18 20:39:46 +0000
commit5c0d7fb01692179388d0e3df46bc772141e3f1d2 (patch)
tree1cbbcfbf325d222bb12e5442494e17027a7f77e5 /src/or
parent0932f463ffcf632c78a2d0d3827255892f370a7e (diff)
downloadtor-5c0d7fb01692179388d0e3df46bc772141e3f1d2.tar
tor-5c0d7fb01692179388d0e3df46bc772141e3f1d2.tar.gz
Resolve control flow warning.
svn:r6658
Diffstat (limited to 'src/or')
-rw-r--r--src/or/buffers.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index 9b7e33c51..db740fbce 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -1339,9 +1339,8 @@ write_to_buf_zlib(buf_t *buf, tor_zlib_state_t *state,
if (buf->datalen > buf->highwater)
buf->highwater = buf->datalen;
buf_total_used += old_avail - avail;
- if (over)
- return 0;
}
+ return 0;
}
/** Log an error and exit if <b>buf</b> is corrupted.