OSSP CVS Repository

ossp - Check-in [3087]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3087
Date: 2003-Jan-22 17:37:48 (local)
2003-Jan-22 16:37:48 (UTC)
User:mlelstv
Branch:
Comment: fixed broken error output
Tickets:
Inspections:
Files:
ossp-pkg/al/al_test.c      1.8 -> 1.9     2 inserted, 2 deleted

ossp-pkg/al/al_test.c 1.8 -> 1.9

--- al_test.c    2003/01/06 13:49:24     1.8
+++ al_test.c    2003/01/22 16:37:48     1.9
@@ -54,14 +54,14 @@
     block \
     if (rc != rc0) \
         ts_test_fail(TS_CTX, "%s -> %d[%s] (expected %d[%s])\n", \
-            rc, al_error(rc), rc0, al_error(rc0))
+            name, rc, al_error(rc), rc0, al_error(rc0))
 
 #define CHECKLEN(name, al) \
     do { \
         size_t good, bad; \
         if (checklen(al, &good, &bad)) \
             ts_test_fail(TS_CTX, "%s -> corrupted length %d (expected %d)\n", \
-                good, bad); \
+                name, good, bad); \
     } while (0)
 
 #define EVAL0(name,block) EVAL(name,rc,AL_OK,block)

CVSTrac 2.0.1