diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-18 16:11:03 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-18 16:11:03 +0000 |
commit | ecaee1d927bf721ecc70cee162cabba677e6affe (patch) | |
tree | c7e2bdd91345e3a272005b83ea246b6694ca6525 /src/or/buffers.c | |
parent | f9133f2528756cd73416cd70cb233abdb3b52721 (diff) | |
download | tor-ecaee1d927bf721ecc70cee162cabba677e6affe.tar.gz tor-ecaee1d927bf721ecc70cee162cabba677e6affe.zip |
Remove fixed xxx020s; downgrade unfixed ones.
(The unfixed ones are being downgraded to regular XXXs mainly on the rationale that they don't seem to be exploding Tor, and they were apparently not showstoppers for 0.2.0.x-final.)
svn:r17682
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index ecbbdc1f03..17d5b3a9a6 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -1083,14 +1083,6 @@ buf_find_pos_of_char(char ch, buf_pos_t *out) tor_assert(out); if (out->chunk) { if (out->chunk->datalen) { - /*XXXX020 remove this once the bug it detects is fixed. */ - if (!(out->pos < (off_t)out->chunk->datalen)) { - log_warn(LD_BUG, "About to assert. %p, %d, %d, %p, %d.", - out, (int)out->pos, - (int)out->chunk_pos, out->chunk, - out->chunk?(int)out->chunk->datalen : (int)-1 - ); - } tor_assert(out->pos < (off_t)out->chunk->datalen); } else { tor_assert(out->pos == 0); |