From 411f5dbf811c1b2c4fedc3070af828bcfbe3ec9a Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sun, 4 Sep 2016 15:02:46 +0200 Subject: remove ua_prm(), use ua_account() instead --- src/call.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/call.c') diff --git a/src/call.c b/src/call.c index c3bea22..5e0b73f 100644 --- a/src/call.c +++ b/src/call.c @@ -1028,6 +1028,12 @@ struct ua *call_get_ua(const struct call *call) } +struct account *call_account(const struct call *call) +{ + return call ? call->acc : NULL; +} + + static int auth_handler(char **username, char **password, const char *realm, void *arg) { -- cgit v1.2.3