[Opensrf-commits] r1695 - trunk/src/gateway (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Apr 27 09:10:34 EDT 2009
Author: erickson
Date: 2009-04-27 09:10:33 -0400 (Mon, 27 Apr 2009)
New Revision: 1695
Modified:
trunk/src/gateway/osrf_http_translator.c
Log:
pass unknown string as second param to osrfLog to avoid literal % parsing in vsnprintf
Modified: trunk/src/gateway/osrf_http_translator.c
===================================================================
--- trunk/src/gateway/osrf_http_translator.c 2009-04-27 01:44:08 UTC (rev 1694)
+++ trunk/src/gateway/osrf_http_translator.c 2009-04-27 13:10:33 UTC (rev 1695)
@@ -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