changeset 13749:e4a4983752a9

[gaim-migrate @ 16160] Fix one of those assertion failures. My bad. This might also make add notification work for ICQ, for when someone else adds you to their buddy list committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 09 May 2006 00:18:46 +0000
parents 3e58b20cded3
children 410c965f56e0
files src/protocols/oscar/oscar.c src/protocols/simple/simple.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Mon May 08 04:47:56 2006 +0000
+++ b/src/protocols/oscar/oscar.c	Tue May 09 00:18:46 2006 +0000
@@ -5095,7 +5095,7 @@
 
 	buddy = gaim_find_buddy(gc->account, sn);
 	gaim_debug_info("oscar", "ssi: %s added you to their buddy list\n", sn);
-	gaim_account_notify_added(gc->account, NULL, sn, (buddy ? gaim_buddy_get_alias_only(buddy) : NULL), NULL);
+	gaim_account_notify_added(gc->account, sn, NULL, (buddy ? gaim_buddy_get_alias_only(buddy) : NULL), NULL);
 
 	return 1;
 }
--- a/src/protocols/simple/simple.c	Mon May 08 04:47:56 2006 +0000
+++ b/src/protocols/simple/simple.c	Tue May 09 00:18:46 2006 +0000
@@ -379,7 +379,7 @@
 	}
 	g_strfreev(parts);
 
-	gaim_debug(GAIM_DEBUG_MISC, "simple", "nonce: %s realm: %s ", auth->nonce ? auth->nonce : "(null)", auth->realm ? auth->realm : "(null)");
+	gaim_debug(GAIM_DEBUG_MISC, "simple", "nonce: %s realm: %s\n", auth->nonce ? auth->nonce : "(null)", auth->realm ? auth->realm : "(null)");
 	if(auth->realm) {
 		auth->digest_session_key = gaim_cipher_http_digest_calculate_session_key(
 				"md5", authuser, auth->realm, sip->password, auth->nonce, NULL);