You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2001/08/07 21:09:21 UTC
cvs commit: apr/test aprtest.h
trawick 01/08/07 12:09:21
Modified: test aprtest.h
Log:
fix the APR_TEST_* macros to retrieve the proper APR error string
Revision Changes Path
1.6 +1 -1 apr/test/aprtest.h
Index: aprtest.h
===================================================================
RCS file: /home/cvs/apr/test/aprtest.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- aprtest.h 2001/07/30 17:25:54 1.5
+++ aprtest.h 2001/08/07 19:09:21 1.6
@@ -71,7 +71,7 @@
char msgbuf[256]; \
fprintf (stdout, "Failed\n"); \
fprintf (stderr, "Error (%d): %s\n%s", rv, #op, \
- apr_strerror(stat, msgbuf, sizeof(msgbuf))); \
+ apr_strerror(rv, msgbuf, sizeof(msgbuf))); \
exit(-1); }
#define APR_TEST_END(rv, op) \