From 62e0c72179c856f637338970109e5ce52849e7db Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 27 Apr 2009 13:10:33 +0000 Subject: [PATCH] pass unknown string as second param to osrfLog to avoid literal % parsing in vsnprintf git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1695 9efc2488-bf62-4759-914b-345cdb29e865 --- src/gateway/osrf_http_translator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gateway/osrf_http_translator.c b/src/gateway/osrf_http_translator.c index dc41070..2b1d7bf 100644 --- a/src/gateway/osrf_http_translator.c +++ b/src/gateway/osrf_http_translator.c @@ -272,7 +272,7 @@ static int osrfHttpTranslatorParseRequest(osrfHttpTranslator* trans) { OSRF_BUFFER_ADD(act, str); free(str); } - osrfLogActivity(OSRF_LOG_MARK, act->buf); + osrfLogActivity(OSRF_LOG_MARK, "%s", act->buf); buffer_free(act); break; } -- 2.11.0