You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fu...@apache.org on 2009/10/13 02:07:16 UTC

svn commit: r824549 - /apr/apr/trunk/test/abts.c

Author: fuankg
Date: Tue Oct 13 00:07:15 2009
New Revision: 824549

URL: http://svn.apache.org/viewvc?rev=824549&view=rev
Log:
fixed error message in abts_ptr_notnull() and avoid
printing a NULL pointer.

Modified:
    apr/apr/trunk/test/abts.c

Modified: apr/apr/trunk/test/abts.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/abts.c?rev=824549&r1=824548&r2=824549&view=diff
==============================================================================
--- apr/apr/trunk/test/abts.c (original)
+++ apr/apr/trunk/test/abts.c Tue Oct 13 00:07:15 2009
@@ -306,7 +306,7 @@
 
     tc->failed = TRUE;
     if (verbose) {
-        fprintf(stderr, "Line %d: Expected NULL, but saw <%p>\n", lineno, ptr);
+        fprintf(stderr, "Line %d: Expected non-NULL, but got NULL\n", lineno);
         fflush(stderr);
     }
 }