Module: sip-router
Branch: sr_3.0
Commit: 6054da6272702ce9ab3f7c48b468bf3fefe16b03
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6054da6…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Thu Nov 5 15:11:53 2009 +0100
registrar(s): use set_force_socket()
- use set_force_socket() instead of msg->force_send_socket
---
modules_s/registrar/lookup.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules_s/registrar/lookup.c b/modules_s/registrar/lookup.c
index 6363518..857e1e0 100644
--- a/modules_s/registrar/lookup.c
+++ b/modules_s/registrar/lookup.c
@@ -139,7 +139,7 @@ int lookup(struct sip_msg* _m, char* _t, char* _s)
}
if (ptr->sock) {
- _m->force_send_socket = ptr->sock;
+ set_force_socket(_m, ptr->sock);
}
skip_rewrite_uri:
@@ -302,7 +302,7 @@ int lookup2(struct sip_msg* msg, char* table, char* p2)
}
if (ptr->sock) {
- msg->force_send_socket = ptr->sock;
+ set_force_socket(msg, ptr->sock);
}
skip_rewrite_uri: