# HG changeset patch # User Luke Schierer # Date 1070375155 0 # Node ID 04f9c750657f320bbd93bd5743a04e037416e936 # Parent e9af98f197af5ee28ed774814eb06fec4b9d23c1 [gaim-migrate @ 8344] " There is an irritating typo that causes a "hidden" form field in the temp html file used for redirecting to hotmail to appear visible. Very short patch attached :)" --Bill Crawford (billcrawford) committer: Tailor Script diff -r e9af98f197af -r 04f9c750657f src/protocols/msn/notification.c --- a/src/protocols/msn/notification.c Tue Dec 02 14:04:48 2003 +0000 +++ b/src/protocols/msn/notification.c Tue Dec 02 14:25:55 2003 +0000 @@ -1810,7 +1810,7 @@ fprintf(fd, "\n", sendbuf); /* TODO Digest me (huh? -- ChipX86) */ fprintf(fd, "\n"); - fprintf(fd, "\n"); + fprintf(fd, "\n"); fprintf(fd, "\n"); fprintf(fd, "\n"); @@ -2026,14 +2026,19 @@ unread = g_hash_table_lookup(table, "Inbox-Unread"); if (unread != NULL) { - const char *passport = msn_user_get_passport(session->user); - const char *url = session->passport_info.file; int count = atoi(unread); if (count != 0) { + const char *passport = msn_user_get_passport(session->user); + const char *file = session->passport_info.file; + gchar *url; + while (*file && *file == '/') + ++file; + url = g_strconcat ("file:///", file, 0); gaim_notify_emails(gc, atoi(unread), FALSE, NULL, NULL, &passport, &url, NULL, NULL); + g_free (url); } }