[Opensrf-commits] r1543 - branches/rel_1_0/src/gateway

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Dec 18 16:23:02 EST 2008


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

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

Modified: branches/rel_1_0/src/gateway/osrf_http_translator.c
===================================================================
--- branches/rel_1_0/src/gateway/osrf_http_translator.c	2008-12-18 21:22:23 UTC (rev 1542)
+++ branches/rel_1_0/src/gateway/osrf_http_translator.c	2008-12-18 21:22:57 UTC (rev 1543)
@@ -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