diff options
author | Alfred E. Heggestad <aeh@db.org> | 2016-06-19 23:56:19 +0200 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2016-06-19 23:56:19 +0200 |
commit | 599b548213b0f18b8b23050e894fabeea527e72b (patch) | |
tree | 30c2c225bcf9fec3d9b62680ab052855aea63cb7 /src | |
parent | 8ef4c56ae0a0d18ceb77a3e62629ac216cab8ebd (diff) |
test: added testcase for SIP OPTIONS
Diffstat (limited to 'src')
-rw-r--r-- | src/ua.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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"); |