Mercurial > hg
changeset 1614:816fb624801d
Slightly change debugging output
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 11 Oct 2009 21:37:02 +0200 |
parents | 509fa8558483 |
children | 171ae5a258fa |
files | mcabber/src/xmpp.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/xmpp.c Sun Oct 11 21:06:58 2009 +0200 +++ b/mcabber/src/xmpp.c Sun Oct 11 21:37:02 2009 +0200 @@ -1634,9 +1634,8 @@ lm_message_handler_unref(handler); /* Connect to server */ - if (servername) - scr_LogPrint(LPRINT_NORMAL|LPRINT_DEBUG, "Connecting to server: %s", - servername); + scr_LogPrint(LPRINT_NORMAL|LPRINT_DEBUG, "Connecting to server: %s", + servername ? servername : "..."); if (!resource) resource = resource_prefix; @@ -1710,7 +1709,6 @@ if (!port) port = (ssl ? LM_CONNECTION_DEFAULT_PORT_SSL : LM_CONNECTION_DEFAULT_PORT); lm_connection_set_port(lconnection, port); - scr_LogPrint(LPRINT_LOGNORM, "Port: %i\n", port); if (ssl_fpr && (!hex_to_fingerprint(ssl_fpr, fpr))) { scr_LogPrint(LPRINT_LOGNORM, "** Plese set the fingerprint in the format "