]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Remove extraneous abort(3) when sending chat
authorTravis Cross <tc@traviscross.com>
Sat, 19 Apr 2014 19:26:27 +0000 (19:26 +0000)
committerTravis Cross <tc@traviscross.com>
Sat, 19 Apr 2014 19:26:27 +0000 (19:26 +0000)
This appears to have been accidentally added in commit
79ebcb104b92fa37ed291e96ab2d611f297e6078 which sought to provide a
mechanism for disabling Sofia's chat interface.  The abort(3) here
achieved that a bit too well.

src/mod/endpoints/mod_sofia/sofia_presence.c

index f25f5eb52d9c8580909a78f91c167489774536b5..8d5d7fb0da7893367f471752bdfea150da0d0f62 100644 (file)
@@ -150,7 +150,7 @@ switch_status_t sofia_presence_chat_send(switch_event_t *message_event)
        network_port = switch_event_get_header(message_event, "to_sip_port");
 
        extra_headers = sofia_glue_get_extra_headers_from_event(message_event, SOFIA_SIP_HEADER_PREFIX);
-       abort();
+
        if (!to) {
                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Missing To: header.\n");
                goto end;