mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-15 11:29:56 +00:00
tweak error message to be more specific on failures.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@537 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b66283bf8c
commit
66a23ae410
@ -300,7 +300,7 @@ static void xmpp_connect(char *jabber_id, char *pass)
|
|||||||
case IKS_NET_NOCONN:
|
case IKS_NET_NOCONN:
|
||||||
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "connection failed\n");
|
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "connection failed\n");
|
||||||
default:
|
default:
|
||||||
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "io error\n");
|
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "io error %d\n", e);
|
||||||
switch_sleep(5000000);
|
switch_sleep(5000000);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user