mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
fix missed error condition
This commit is contained in:
parent
f3b1809a63
commit
afdfb9a6e1
@ -143,6 +143,11 @@ static switch_xml_t xml_url_fetch(const char *section, const char *tag_name, con
|
|||||||
}
|
}
|
||||||
|
|
||||||
scgi_disconnect(&handle);
|
scgi_disconnect(&handle);
|
||||||
|
} else {
|
||||||
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "DEBUG:\nURL: %s Connection Failed: [%s]\n", binding->url, handle.err);
|
||||||
|
switch_safe_free(data);
|
||||||
|
switch_safe_free(stream.data);
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GLOBAL_DEBUG) {
|
if (GLOBAL_DEBUG) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user