summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-06-19 23:56:19 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-06-19 23:56:19 +0200
commit599b548213b0f18b8b23050e894fabeea527e72b (patch)
tree30c2c225bcf9fec3d9b62680ab052855aea63cb7 /src
parent8ef4c56ae0a0d18ceb77a3e62629ac216cab8ebd (diff)
test: added testcase for SIP OPTIONS
Diffstat (limited to 'src')
-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");