mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 13:58:32 +00:00
Temporarily reverting sofia-sip library back to prior to the changes merged on 2/7/2007 due to ongoing unresolved issues in the new code. Will re-commit these changes once we receive fixes from the sofia-sip tree for these outstanding issues. Make sure recommended.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4308 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
08debcfcb4
commit
7b4e100b31
235 files changed
+14737
-40224
No files matched your search
@@ -331,7 +331,7 @@ int main(int argc, char *argv[])
|
||||
return context->c_retval;
|
||||
}
|
||||
|
||||
/** Handle responses to OPTIONS request */
|
||||
/** Handle responses to registration request */
|
||||
static
|
||||
int response_to_options(context_t *context,
|
||||
nta_outgoing_t *oreq,
|
||||
@@ -355,17 +355,13 @@ int response_to_options(context_t *context,
|
||||
sip_is_content_length(h))
|
||||
continue;
|
||||
}
|
||||
|
||||
if (h->sh_class->hc_name == NULL) {
|
||||
sl_header_print(stdout, NULL, h);
|
||||
}
|
||||
else if (h->sh_class->hc_name[0] == '\0') {
|
||||
sl_header_print(stdout, "%s\n", h);
|
||||
}
|
||||
else {
|
||||
if (h->sh_class->hc_name) {
|
||||
snprintf(hname, sizeof hname, "%s: %%s\n", h->sh_class->hc_name);
|
||||
sl_header_print(stdout, hname, h);
|
||||
}
|
||||
else {
|
||||
sl_header_print(stdout, NULL, h);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user