comparison src/protocols/msn/msg.c @ 5454:c6efac0e28ff

[gaim-migrate @ 5842] Fixed the bug where EVERYBODY is a gaim user. This may have fixed a couple other bugs as well. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 20 May 2003 03:32:37 +0000
parents b1c430fbf9d5
children f9658a84d1ed
comparison
equal deleted inserted replaced
5453:a57165ee5666 5454:c6efac0e28ff
75 g_return_val_if_fail(str != NULL, NULL); 75 g_return_val_if_fail(str != NULL, NULL);
76 g_return_val_if_fail(!g_ascii_strncasecmp(str, "MSG", 3), NULL); 76 g_return_val_if_fail(!g_ascii_strncasecmp(str, "MSG", 3), NULL);
77 77
78 msg = msn_message_new(); 78 msg = msn_message_new();
79 79
80 /* Clear out the old stuff. */
81 msn_message_set_attr(msg, "User-Agent", NULL);
82
80 tmp = g_strdup(str); 83 tmp = g_strdup(str);
81 84
82 GET_NEXT(tmp); /* Skip MSG */ 85 GET_NEXT(tmp); /* Skip MSG */
83 field1 = tmp; 86 field1 = tmp;
84 87