# HG changeset patch # User Mikael Hallendal # Date 1203971729 -3600 # Node ID ce4dcda8797cf5e443b5cad88a8b391cfe01ab00 # Parent b1e0d0551a8c5753325fe34360355fdbc508f8f3 Added new line for g_log printouts diff -r b1e0d0551a8c -r ce4dcda8797c loudmouth/lm-connection.c --- a/loudmouth/lm-connection.c Mon Feb 25 21:16:57 2008 +0100 +++ b/loudmouth/lm-connection.c Mon Feb 25 21:35:29 2008 +0100 @@ -990,7 +990,8 @@ type = lm_message_get_sub_type (message); if (type == LM_MESSAGE_SUB_TYPE_ERROR) { - g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_SASL, "%s: error while binding to resource", G_STRFUNC); + g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_SASL, + "%s: error while binding to resource\n", G_STRFUNC); connection_call_auth_cb (connection, FALSE); @@ -1058,7 +1059,8 @@ /* If there were no starttls features present and we require it, this is * the place to scream. */ - g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_SASL, "%s: required StartTLS feature not supported by server", G_STRFUNC); + g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_SASL, + "%s: required StartTLS feature not supported by server\n", G_STRFUNC); connection_do_close (connection); connection_signal_disconnect (connection, LM_DISCONNECT_REASON_ERROR); @@ -1100,14 +1102,15 @@ if (result < 0) { g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_SASL, - "%s: can't send resource binding request", G_STRFUNC); + "%s: can't send resource binding request\n", G_STRFUNC); connection_do_close (connection); } } old_auth = lm_message_node_find_child (message->node, "auth"); if (connection->use_sasl && old_auth) { - g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_SASL, "Server uses XEP-0078 (jabber iq auth) instead of SASL"); + g_log (LM_LOG_DOMAIN, LM_LOG_LEVEL_SASL, + "Server uses XEP-0078 (jabber iq auth) instead of SASL\n"); /* So the server is XMPP1.0, but doesn't support SASL and uses * obsolete XEP-0078 instead. Let's cope. */