[Opensrf-commits] r1696 - branches/rel_1_0/src/gateway (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Apr 27 09:11:09 EDT 2009


Author: erickson
Date: 2009-04-27 09:11:08 -0400 (Mon, 27 Apr 2009)
New Revision: 1696

Modified:
   branches/rel_1_0/src/gateway/osrf_http_translator.c
Log:
pass unknown string as second param to osrfLog to avoid literal % parsing in vsnprintf

Modified: branches/rel_1_0/src/gateway/osrf_http_translator.c
===================================================================
--- branches/rel_1_0/src/gateway/osrf_http_translator.c	2009-04-27 13:10:33 UTC (rev 1695)
+++ branches/rel_1_0/src/gateway/osrf_http_translator.c	2009-04-27 13:11:08 UTC (rev 1696)
@@ -272,7 +272,7 @@
                     OSRF_BUFFER_ADD(act, str);
                     free(str);
                 }
-                osrfLogActivity(OSRF_LOG_MARK, act->buf);
+                osrfLogActivity(OSRF_LOG_MARK, "%s", act->buf);
                 buffer_free(act);
                 break;
             }



More information about the opensrf-commits mailing list