From 7c0fd048fdbfd43c28c70c9e108a36c8d0699e8e Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 18 Dec 2008 21:22:23 +0000 Subject: [PATCH] if we are only connecting, we are still connecting. same with disconnect git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1542 9efc2488-bf62-4759-914b-345cdb29e865 --- src/gateway/osrf_http_translator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gateway/osrf_http_translator.c b/src/gateway/osrf_http_translator.c index 87c12e9..184604d 100644 --- a/src/gateway/osrf_http_translator.c +++ b/src/gateway/osrf_http_translator.c @@ -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; } } -- 2.11.0