[Opensrf-commits] r1540 - trunk/src/gateway

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Dec 18 15:49:13 EST 2008


Author: erickson
Date: 2008-12-18 15:49:09 -0500 (Thu, 18 Dec 2008)
New Revision: 1540

Modified:
   trunk/src/gateway/osrf_http_translator.c
Log:
wrap the top case statement in brackets... i guess the macros are confusing things...

Modified: trunk/src/gateway/osrf_http_translator.c
===================================================================
--- trunk/src/gateway/osrf_http_translator.c	2008-12-18 20:17:57 UTC (rev 1539)
+++ trunk/src/gateway/osrf_http_translator.c	2008-12-18 20:49:09 UTC (rev 1540)
@@ -252,7 +252,7 @@
 
         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 @@
                 osrfLogActivity(OSRF_LOG_MARK, act->buf);
                 buffer_free(act);
                 break;
+            }
 
             case CONNECT:
                 trans->connecting = 1;



More information about the opensrf-commits mailing list