From: erickson Date: Thu, 18 Dec 2008 20:49:09 +0000 (+0000) Subject: wrap the top case statement in brackets... i guess the macros are confusing things... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5ab3eedd4a27ae59a38cb9b5323550a3e7004956;p=working%2FOpenSRF.git wrap the top case statement in brackets... i guess the macros are confusing things... git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1540 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/gateway/osrf_http_translator.c b/src/gateway/osrf_http_translator.c index 8b2ac70..87c12e9 100644 --- a/src/gateway/osrf_http_translator.c +++ b/src/gateway/osrf_http_translator.c @@ -252,7 +252,7 @@ static int osrfHttpTranslatorParseRequest(osrfHttpTranslator* trans) { switch(msg->m_type) { - case REQUEST: + case REQUEST: { jsonObject* params = msg->_params; growing_buffer* act = buffer_init(128); buffer_fadd(act, "[%s] [%s] %s %s", trans->remoteHost, "", trans->service, msg->method_name); @@ -269,6 +269,7 @@ static int osrfHttpTranslatorParseRequest(osrfHttpTranslator* trans) { osrfLogActivity(OSRF_LOG_MARK, act->buf); buffer_free(act); break; + } case CONNECT: trans->connecting = 1;