apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r824549 - /apr/apr/trunk/test/abts.c
Date Tue, 13 Oct 2009 00:07:16 GMT
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);
     }
 }



Mime
View raw message