Module: sems
Branch: 1.4
Commit: 5139d4cb19d58643341c46d770f2b08369d162fc
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=5139d4cb19d58643341c46d770f2b08369d162fc

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Wed Dec  7 18:08:00 2011 +0100

b/f: use proper failure return value

patch by Andrey Samusenko

---

 core/AmSessionContainer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/AmSessionContainer.cpp b/core/AmSessionContainer.cpp
index bff01ed..a981f8e 100644
--- a/core/AmSessionContainer.cpp
+++ b/core/AmSessionContainer.cpp
@@ -247,7 +247,7 @@ string AmSessionContainer::startSessionUAC(AmSipRequest& 
req, AmArg* session_par
        ERROR("INVITE could not be sent: error code = %d.\n", err);
        AmEventDispatcher::instance()->delEventQueue(req.from_tag);
        MONITORING_MARK_FINISHED(req.from_tag.c_str());
-       return NULL;
+       return "";
       }
       
       if (AmConfig::LogSessions) {      

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to