if we are only connecting, we are still connecting. same with disconnect
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 18 Dec 2008 21:22:23 +0000 (21:22 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 18 Dec 2008 21:22:23 +0000 (21:22 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1542 9efc2488-bf62-4759-914b-345cdb29e865

src/gateway/osrf_http_translator.c

index 87c12e9..184604d 100644 (file)
@@ -237,10 +237,12 @@ static int osrfHttpTranslatorParseRequest(osrfHttpTranslator* trans) {
         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;
         }
     }