INN commit: trunk/include/inn (libinn.h)

INN Commit rra at isc.org
Mon Nov 30 19:56:05 UTC 2009


    Date: Monday, November 30, 2009 @ 11:56:04
  Author: eagle
Revision: 8833

Fix printf attribute for x_asprintf in the non-vamacros case

Modified:
  trunk/include/inn/libinn.h

----------+
 libinn.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: libinn.h
===================================================================
--- libinn.h	2009-11-30 19:45:20 UTC (rev 8832)
+++ libinn.h	2009-11-30 19:56:04 UTC (rev 8833)
@@ -77,7 +77,7 @@
     __attribute__((__format__(printf, 4, 5)));
 #else
 extern int x_asprintf(char **, const char *, ...)
-    __attribute__((__format__(printf, 4, 5)));
+    __attribute__((__format__(printf, 2, 3)));
 #endif
 
 /* Failure handler takes the function, the size, the file, and the line. */




More information about the inn-committers mailing list