OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/l2_p.h versions 1.21 and 1.22
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/l2_p.h 1.21 -> 1.22

--- l2_p.h       2001/09/24 15:36:23     1.21
+++ l2_p.h       2001/09/25 15:22:21     1.22
@@ -56,8 +56,11 @@
 
 #ifndef NDEBUG
 #define TRACE(str)\
-        do\
-            fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, str);\
+        do {\
+            fprintf(stderr, "%s:%d: ", __FILE__, __LINE__);\
+            fprintf(stderr, str);\
+            fputc('\n', stderr);\
+        }\
         while (0)
 #else
 #define TRACE(expr) ((void)0)

CVSTrac 2.0.1