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

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Dec 18 16:22:27 EST 2008


Author: erickson
Date: 2008-12-18 16:22:23 -0500 (Thu, 18 Dec 2008)
New Revision: 1542

Modified:
   trunk/src/gateway/osrf_http_translator.c
Log:
if we are only connecting, we are still connecting.  same with disconnect

Modified: trunk/src/gateway/osrf_http_translator.c
===================================================================
--- trunk/src/gateway/osrf_http_translator.c	2008-12-18 20:54:33 UTC (rev 1541)
+++ trunk/src/gateway/osrf_http_translator.c	2008-12-18 21:22:23 UTC (rev 1542)
@@ -237,10 +237,12 @@
         msg = msgList[0];
         if(msg->m_type == CONNECT) {
             trans->connectOnly = 1;
+            trans->connecting = 1;
             return 1;
         }
         if(msg->m_type == DISCONNECT) {
             trans->disconnectOnly = 1;
+            trans->disconnecting = 1;
             return 1;
         }
     }



More information about the opensrf-commits mailing list