summaryrefslogtreecommitdiff
path: root/src/reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reg.c')
-rw-r--r--src/reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reg.c b/src/reg.c
index b206ed8..a8e53fb 100644
--- a/src/reg.c
+++ b/src/reg.c
@@ -223,7 +223,7 @@ int reg_register(struct reg *reg, const char *reg_uri, const char *params,
routev[0] ? routev : NULL,
routev[0] ? 1 : 0,
reg->id,
- sip_auth_handler, ua_prm(reg->ua), true,
+ sip_auth_handler, ua_account(reg->ua), true,
register_handler, reg,
params[0] ? &params[1] : NULL,
"Allow: %s\r\n", uag_allowed_methods());