aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-05-06 17:38:16 +0000
committerNick Mathewson <nickm@torproject.org>2003-05-06 17:38:16 +0000
commitfcf7bfe290dde7d21785eac95809dee94e586217 (patch)
treefa3d6b68a5b28abb98b3367d8f93cf77c4600663 /src/common
parent03ed54e920f16d726ca22f05d0d490fb6d8eed74 (diff)
downloadtor-fcf7bfe290dde7d21785eac95809dee94e586217.tar.gz
tor-fcf7bfe290dde7d21785eac95809dee94e586217.zip
Refactor directories; add unit tests; add router keyword
svn:r266
Diffstat (limited to 'src/common')
-rw-r--r--src/common/test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/test.h b/src/common/test.h
index 3a1215fe04..e80a964fca 100644
--- a/src/common/test.h
+++ b/src/common/test.h
@@ -63,7 +63,7 @@
char *v1=(expr1), *v2=(expr2); \
if(!strcmp(v1,v2)) { printf("."); } else { \
printf("\nFile %s: line %d (%s): Assertion failed: (%s==%s)\n"\
- " (%s != %s)\n", \
+ " (\"%s\" != \"%s\")\n", \
__FILE__, \
__LINE__, \
__PRETTY_FUNCTION__, \
@@ -77,7 +77,7 @@
char *v1=(expr1), *v2=(expr2); \
if(strcmp(v1,v2)) { printf("."); } else { \
printf("\nFile %s: line %d (%s): Assertion failed: (%s!=%s)\n"\
- " (%s == %s)\n", \
+ " (\"%s\" == \"%s\")\n", \
__FILE__, \
__LINE__, \
__PRETTY_FUNCTION__, \