Module: sems
Branch: master
Commit: 5957a9db97172cb7265182f90c9fc7df02fe7dd9
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=5957a9db97172cb7265182f90c9fc7df02fe7dd9

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 ccfeea5..ae64805 100644
--- a/core/AmSessionContainer.cpp
+++ b/core/AmSessionContainer.cpp
@@ -245,7 +245,7 @@ string AmSessionContainer::startSessionUAC(const 
AmSipRequest& req, string& app_
        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