From 55c7dd7b7e16c600a9ed71bed871fe3679637938 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Tue, 23 Sep 2008 23:51:35 +0000 Subject: [PATCH] pass possible errors in send(request) up git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1098 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/plug-in/sipctrl/SipCtrlInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/plug-in/sipctrl/SipCtrlInterface.cpp b/core/plug-in/sipctrl/SipCtrlInterface.cpp index f1e3e9da..9ad3139f 100644 --- a/core/plug-in/sipctrl/SipCtrlInterface.cpp +++ b/core/plug-in/sipctrl/SipCtrlInterface.cpp @@ -319,11 +319,11 @@ int SipCtrlInterface::send(const AmSipRequest &req, char* serKey, unsigned int& } } - tl->send_request(msg,serKey); + int res = tl->send_request(msg,serKey); delete msg; serKeyLen=12; - return 0; + return res; } void SipCtrlInterface::run()