Module: kamailio
Branch: master
Commit: dd6b8d282289bbaf02adb5a9f341800ca17a0bfd
URL:
https://github.com/kamailio/kamailio/commit/dd6b8d282289bbaf02adb5a9f341800…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-08-09T11:31:40+02:00
uac: fix error related to UAC_OLD_AUTH #define and default_socket addition
---
Modified: src/modules/uac/uac_reg.c
---
Diff:
https://github.com/kamailio/kamailio/commit/dd6b8d282289bbaf02adb5a9f341800…
Patch:
https://github.com/kamailio/kamailio/commit/dd6b8d282289bbaf02adb5a9f341800…
---
diff --git a/src/modules/uac/uac_reg.c b/src/modules/uac/uac_reg.c
index f7f62e0d9c..0e3cc65165 100644
--- a/src/modules/uac/uac_reg.c
+++ b/src/modules/uac/uac_reg.c
@@ -1013,11 +1013,11 @@ void uac_reg_tm_callback( struct cell *t, int type, struct
tmcb_params *ps)
uac_r.cb = uac_reg_tm_callback;
/* Callback parameter */
uac_r.cbp = (void*)uuid;
+#ifdef UAC_OLD_AUTH
/* default socket */
if(uac_default_socket.s != NULL && uac_default_socket.len > 0) {
uac_r.ssock = &uac_default_socket;
}
-#ifdef UAC_OLD_AUTH
ret = uac_tmb.t_request(&uac_r, /* UAC Req */
&s_ruri, /* Request-URI */
&s_turi, /* To */