summaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-10-09 02:35:51 +0000
committerNick Mathewson <nickm@torproject.org>2006-10-09 02:35:51 +0000
commitc6f2d725d005f912830b523aa1d1a419f4e22ecd (patch)
tree1368757b759b80251b8a1afd343f3a5ecab0a36d /src/or/test.c
parentc34125503493b2a71728c1cc5e913744f797704e (diff)
downloadtor-c6f2d725d005f912830b523aa1d1a419f4e22ecd.tar.gz
tor-c6f2d725d005f912830b523aa1d1a419f4e22ecd.zip
r8957@totoro: nickm | 2006-10-08 22:35:17 -0400
The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx. svn:r8664
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 147c5c209a..c25bd189cd 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -1174,6 +1174,7 @@ test_control_formats(void)
sz = read_escaped_data(inp, strlen(inp), 1, &out);
test_streq(out,
".This is a test\nof the emergency \nbroadcast\n.system.\nZ.\n");
+ test_eq(sz, strlen(out));
tor_free(out);
}