[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Resolve control flow warning.
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv6148/src/or
Modified Files:
buffers.c
Log Message:
Resolve control flow warning.
Index: buffers.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/buffers.c,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -p -d -r1.198 -r1.199
--- buffers.c 18 Jun 2006 16:39:26 -0000 1.198
+++ buffers.c 18 Jun 2006 20:39:46 -0000 1.199
@@ -1339,9 +1339,8 @@ write_to_buf_zlib(buf_t *buf, tor_zlib_s
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.