Changeset - 6cbfab6b722b
[Not reviewed]
0 1 0
Jan Kaluza - 13 years ago 2012-12-12 14:32:31
hanzz.k@gmail.com
Exit even when empty response is receievd
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
spectrum_manager/src/methods.cpp
Show inline comments
 
@@ -371,6 +371,9 @@ static void handleDataRead(boost::shared_ptr<Swift::Connection> m_conn, boost::s
 
			m_conn->onDataRead.disconnect(boost::bind(&handleDataRead, m_conn, _1));
 
			m_conn->disconnect();
 
			response = payload.config();
 
			if (response.empty()) {
 
				response = "Empty response";
 
			}
 
			std::cout << payload.config() << "\n";
 
// 			exit(0);
 
		}
0 comments (0 inline, 0 general)