summaryrefslogtreecommitdiff
path: root/src/ua.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ua.c')
-rw-r--r--src/ua.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ua.c b/src/ua.c
index d87f11d..ed5ba99 100644
--- a/src/ua.c
+++ b/src/ua.c
@@ -909,8 +909,6 @@ int ua_options_send(struct ua *ua, const char *uri,
struct mbuf *dialbuf;
int err = 0;
- (void)arg;
-
if (!ua || !str_isset(uri))
return EINVAL;
@@ -924,7 +922,7 @@ int ua_options_send(struct ua *ua, const char *uri,
dialbuf->buf[dialbuf->end] = '\0';
- err = sip_req_send(ua, "OPTIONS", (char *)dialbuf->buf, resph, NULL,
+ err = sip_req_send(ua, "OPTIONS", (char *)dialbuf->buf, resph, arg,
"Accept: application/sdp\r\n"
"Content-Length: 0\r\n"
"\r\n");