# HG changeset patch # User Christian Hammond # Date 1065625905 0 # Node ID 13c7255660789f9f0728669d5fba3cbf5d125ee5 # Parent 3009857eaa92b0db2d04cbd3a24b866511f532b8 [gaim-migrate @ 7759] See if this fixes the assertion error with gaim_notify_emails in MSN that people seem to be getting. committer: Tailor Script diff -r 3009857eaa92 -r 13c725566078 src/protocols/msn/notification.c --- a/src/protocols/msn/notification.c Wed Oct 08 12:04:57 2003 +0000 +++ b/src/protocols/msn/notification.c Wed Oct 08 15:11:45 2003 +0000 @@ -1993,9 +1993,13 @@ if (unread != NULL) { const char *passport = msn_user_get_passport(session->user); const char *url = session->passport_info.file; - - gaim_notify_emails(gc, atoi(unread), FALSE, NULL, NULL, - &passport, &url, NULL, NULL); + int count = atoi(unread); + + if (count != 0) + { + gaim_notify_emails(gc, atoi(unread), FALSE, NULL, NULL, + &passport, &url, NULL, NULL); + } } g_hash_table_destroy(table);