comparison mcabber/mcabber/xmpp.c @ 1717:c12455fec611

Remove extra newlines in scr_LogPrint() calls
author Mikael Berthe <mikael@lilotux.net>
date Wed, 17 Feb 2010 19:08:55 +0100
parents d30fb41725fe
children 98d99485d276
comparison
equal deleted inserted replaced
1716:d30fb41725fe 1717:c12455fec611
891 if (resource) 891 if (resource)
892 resource++; 892 resource++;
893 893
894 if (!lm_connection_authenticate(lconnection, username, password, resource, 894 if (!lm_connection_authenticate(lconnection, username, password, resource,
895 connection_auth_cb, NULL, FALSE, &error)) { 895 connection_auth_cb, NULL, FALSE, &error)) {
896 scr_LogPrint(LPRINT_LOGNORM, "Failed to authenticate: %s\n", 896 scr_LogPrint(LPRINT_LOGNORM, "Failed to authenticate: %s",
897 error->message); 897 error->message);
898 g_error_free (error); 898 g_error_free (error);
899 _try_to_reconnect(); 899 _try_to_reconnect();
900 } 900 }
901 g_free(username); 901 g_free(username);
1784 } 1784 }
1785 1785
1786 if (!lm_connection_open(lconnection, connection_open_cb, 1786 if (!lm_connection_open(lconnection, connection_open_cb,
1787 NULL, FALSE, &error)) { 1787 NULL, FALSE, &error)) {
1788 _try_to_reconnect(); 1788 _try_to_reconnect();
1789 scr_LogPrint(LPRINT_LOGNORM, "Failed to open: %s\n", error->message); 1789 scr_LogPrint(LPRINT_LOGNORM, "Failed to open: %s", error->message);
1790 g_error_free (error); 1790 g_error_free (error);
1791 } 1791 }
1792 } 1792 }
1793 1793
1794 // insert_entity_capabilities(presence_stanza) 1794 // insert_entity_capabilities(presence_stanza)