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

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Wed Oct  3 12:01:18 2012 +0200

b/f: registrar_client: return the proper handle

Thx to Greg Doerr for reporting and supplying the fix description.

---

 apps/registrar_client/SIPRegistrarClient.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/apps/registrar_client/SIPRegistrarClient.cpp 
b/apps/registrar_client/SIPRegistrarClient.cpp
index c3147a0..528b417 100644
--- a/apps/registrar_client/SIPRegistrarClient.cpp
+++ b/apps/registrar_client/SIPRegistrarClient.cpp
@@ -340,7 +340,8 @@ string SIPRegistrarClient::createRegistration(const string& 
domain,
                                                              name, auth_user, 
pwd, 
                                                              proxy, contact),
                                          l_handle, sess_link));
-  return handle;
+
+  return l_handle;
 }
 
 void SIPRegistrarClient::removeRegistration(const string& handle) {

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

Reply via email to