summaryrefslogtreecommitdiff
path: root/src/call.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-09-04 15:02:46 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-09-04 15:02:46 +0200
commit411f5dbf811c1b2c4fedc3070af828bcfbe3ec9a (patch)
treeffbeb0f0767513c0b6ace4c4ce42be0b2c009bab /src/call.c
parent8abcfeb1486a093a07360c63ea65958e3daaa57d (diff)
remove ua_prm(), use ua_account() instead
Diffstat (limited to 'src/call.c')
-rw-r--r--src/call.c6
1 files changed, 6 insertions, 0 deletions
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)
{