[sr-dev] git:sr_3.0: registrar(k): use set_force_socket()

Andrei Pelinescu-Onciul andrei at iptel.org
Thu Nov 5 15:20:47 CET 2009


Module: sip-router
Branch: sr_3.0
Commit: f2ba4e06b008ac5fcc0c650761f2e7f980292a6e
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f2ba4e06b008ac5fcc0c650761f2e7f980292a6e

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Thu Nov  5 15:16:05 2009 +0100

registrar(k): use set_force_socket()

- use set_force_socket() instead of msg->force_send_socket

---

 modules_k/registrar/lookup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules_k/registrar/lookup.c b/modules_k/registrar/lookup.c
index 5a0f19e..2db8ee7 100644
--- a/modules_k/registrar/lookup.c
+++ b/modules_k/registrar/lookup.c
@@ -134,7 +134,7 @@ int lookup(struct sip_msg* _m, char* _t, char* _s)
 		setbflagsval( 0, ptr->cflags);
 
 		if (ptr->sock)
-			_m->force_send_socket = ptr->sock;
+			set_force_socket(_m, ptr->sock);
 
 		ptr = ptr->next;
 	}




More information about the sr-dev mailing list