pidgin: 5592cb6a: Add some missing newlines in debug messa...
qulogic at pidgin.im
qulogic at pidgin.im
Fri Mar 20 23:30:39 EDT 2009
-----------------------------------------------------------------
Revision: 5592cb6a8b667422747bafd555fea0aed19931b6
Ancestor: 7829ec76bdb008583f8da54e238c2265a1140db2
Author: qulogic at pidgin.im
Date: 2009-03-21T02:20:52
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/5592cb6a8b667422747bafd555fea0aed19931b6
Modified files:
libpurple/protocols/msn/notification.c
libpurple/protocols/msn/oim.c
libpurple/protocols/msn/state.c
libpurple/protocols/msn/switchboard.c
libpurple/protocols/msn/userlist.c
ChangeLog:
Add some missing newlines in debug messages.
Fixes #8740.
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c ddf4aeff8d134fe0dffa2d51caf7cecb100a2841
+++ libpurple/protocols/msn/notification.c a87fe21fa1e66ce8e5dfe09bd9bb62bff8a8b62b
@@ -1609,7 +1609,7 @@ gcf_cmd_post(MsnCmdProc *cmdproc, MsnCom
if ( (root = xmlnode_from_str(cmd->payload, cmd->payload_len)) == NULL)
{
- purple_debug_error("msn", "Unable to parse GCF payload into a XML tree");
+ purple_debug_error("msn", "Unable to parse GCF payload into a XML tree\n");
return;
}
@@ -1682,7 +1682,7 @@ ubx_cmd_post(MsnCmdProc *cmdproc, MsnCom
user = msn_userlist_find_user(session->userlist, passport);
if (user == NULL) {
char *str = g_strndup(payload, len);
- purple_debug_info("msn", "unknown user %s, payload is %s",
+ purple_debug_info("msn", "unknown user %s, payload is %s\n",
passport, str);
g_free(str);
return;
============================================================
--- libpurple/protocols/msn/oim.c 5671d21f5fd46800410767e4be9176ac756afdfd
+++ libpurple/protocols/msn/oim.c a4f8576acc6135d6275bbf71675c760b7c8d7b44
@@ -174,7 +174,7 @@ msn_oim_request_cb(MsnSoapMessage *reque
gchar *faultcode_str = xmlnode_get_data(faultcode);
if (faultcode_str && g_str_equal(faultcode_str, "q0:BadContextToken")) {
- purple_debug_warning("msn", "OIM Request Error, Updating token now.");
+ purple_debug_warning("msn", "OIM Request Error, Updating token now.\n");
msn_nexus_update_token(data->oim->session->nexus,
data->send ? MSN_AUTH_LIVE_SECURE : MSN_AUTH_MESSENGER_WEB,
(GSourceFunc)msn_oim_request_helper, data);
@@ -183,7 +183,7 @@ msn_oim_request_cb(MsnSoapMessage *reque
} else if (faultcode_str && g_str_equal(faultcode_str, "q0:AuthenticationFailed")) {
if (xmlnode_get_child(fault, "detail/RequiredAuthPolicy") != NULL) {
- purple_debug_warning("msn", "OIM Request Error, Updating token now.");
+ purple_debug_warning("msn", "OIM Request Error, Updating token now.\n");
msn_nexus_update_token(data->oim->session->nexus,
data->send ? MSN_AUTH_LIVE_SECURE : MSN_AUTH_MESSENGER_WEB,
(GSourceFunc)msn_oim_request_helper, data);
============================================================
--- libpurple/protocols/msn/state.c 588674eec2a5082d3337b2358e44ffcf784ad824
+++ libpurple/protocols/msn/state.c 8140807163cefc903efca7b4096a7a8d1d7a23f1
@@ -169,7 +169,7 @@ msn_get_currentmedia(char *xml_str, gsiz
}
currentmediaNode = xmlnode_get_child(payloadNode, "CurrentMedia");
if (currentmediaNode == NULL) {
- purple_debug_info("msn", "No CurrentMedia Node");
+ purple_debug_info("msn", "No CurrentMedia Node\n");
xmlnode_free(payloadNode);
return NULL;
}
@@ -195,7 +195,7 @@ msn_get_psm(char *xml_str, gsize len)
}
psmNode = xmlnode_get_child(payloadNode, "PSM");
if (psmNode == NULL) {
- purple_debug_info("msn", "No PSM status Node");
+ purple_debug_info("msn", "No PSM status Node\n");
xmlnode_free(payloadNode);
return NULL;
}
============================================================
--- libpurple/protocols/msn/switchboard.c adbf695fbacd431778b440f974dd6d790f39ae27
+++ libpurple/protocols/msn/switchboard.c 9d902d40fc43840d750642453f6c453d3e0e0403
@@ -590,7 +590,7 @@ release_msg(MsnSwitchBoard *swboard, Msn
payload = msn_message_gen_payload(msg, &payload_len);
#ifdef MSN_DEBUG_SB
- purple_debug_info("msn", "SB length:{%" G_GSIZE_FORMAT "}", payload_len);
+ purple_debug_info("msn", "SB length:{%" G_GSIZE_FORMAT "}\n", payload_len);
msn_message_show_readable(msg, "SB SEND", FALSE);
#endif
============================================================
--- libpurple/protocols/msn/userlist.c 35cec4bc91d19a716c173a8ea28f038fd4bb69ea
+++ libpurple/protocols/msn/userlist.c bb7b959dea22fab413c089d174cf47c8612961c7
@@ -858,7 +858,7 @@ msn_userlist_add_buddy_to_group(MsnUserL
}
if ( (user = msn_userlist_find_user(userlist, who)) == NULL) {
- purple_debug_error("msn", "User %s not found!", who);
+ purple_debug_error("msn", "User %s not found!\n", who);
return FALSE;
}
@@ -887,7 +887,7 @@ msn_userlist_rem_buddy_from_group(MsnUse
}
if ( (user = msn_userlist_find_user(userlist, who)) == NULL) {
- purple_debug_error("msn", "User %s not found!", who);
+ purple_debug_error("msn", "User %s not found!\n", who);
return FALSE;
}
More information about the Commits
mailing list