Update of /cvsroot/gaim/gaim/src/protocols/msn
In directory usw-pr-cvs1:/tmp/cvs-serv21505/protocols/msn
Modified Files:
msn.c
Log Message:
SPAM!!!
All recipients of the email generated by this commit each owe me $125 per email sent, plus a $75 handling fee for all messages combined.
Or was that supposed to be the other way around.
Index: msn.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/msn/msn.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- msn.c 2001/11/19 09:45:22 1.40
+++ msn.c 2001/11/20 01:01:22 1.41
@@ -669,12 +669,9 @@
static void msn_accept_add(gpointer w, struct msn_add_permit *map)
{
struct msn_data *md = map->gc->proto_data;
- char *user;
char buf[MSN_BUF_LEN];
- user = g_strdup(url_encode(map->user));
- g_snprintf(buf, sizeof(buf), "ADD %d AL %s %s\r\n", ++md->trId, user, url_encode(map->friend));
- g_free(user);
+ g_snprintf(buf, sizeof(buf), "ADD %d AL %s %s\r\n", ++md->trId, map->user, url_encode(map->friend));
if (msn_write(md->fd, buf, strlen(buf)) < 0) {
hide_login_progress(map->gc, "Write error");
signoff(map->gc);
@@ -1712,7 +1709,6 @@
if (l)
return;
- who = url_encode(who);
g_snprintf(buf, sizeof(buf), "ADD %d FL %s %s\r\n", ++md->trId, who, who);
if (msn_write(md->fd, buf, strlen(buf)) < 0) {
hide_login_progress(gc, "Write error");
@@ -1726,7 +1722,6 @@
struct msn_data *md = gc->proto_data;
char buf[MSN_BUF_LEN];
- who = url_encode(who);
g_snprintf(buf, sizeof(buf), "REM %d FL %s\r\n", ++md->trId, who);
if (msn_write(md->fd, buf, strlen(buf)) < 0) {
hide_login_progress(gc, "Write error");
@@ -1838,7 +1833,6 @@
t = g_slist_append(t, who);
continue;
}
- who = url_encode(who);
g_snprintf(buf, sizeof(buf), "ADD %d AL %s %s\r\n", ++md->trId, who, who);
if (msn_write(md->fd, buf, strlen(buf)) < 0) {
hide_login_progress(gc, "Write error");
@@ -1866,7 +1860,6 @@
t = g_slist_append(t, who);
continue;
}
- who = url_encode(who);
g_snprintf(buf, sizeof(buf), "ADD %d AL %s %s\r\n", ++md->trId, who, who);
if (msn_write(md->fd, buf, strlen(buf)) < 0) {
hide_login_progress(gc, "Write error");
@@ -1898,7 +1891,6 @@
return;
}
- who = url_encode(who);
g_snprintf(buf, sizeof(buf), "ADD %d AL %s %s\r\n", ++md->trId, who, who);
if (msn_write(md->fd, buf, strlen(buf)) < 0) {
hide_login_progress(gc, "Write error");
@@ -1912,7 +1904,6 @@
struct msn_data *md = gc->proto_data;
char buf[MSN_BUF_LEN];
- who = url_encode(who);
g_snprintf(buf, sizeof(buf), "REM %d AL %s\r\n", ++md->trId, who);
if (msn_write(md->fd, buf, strlen(buf)) < 0) {
hide_login_progress(gc, "Write error");
@@ -1933,7 +1924,6 @@
return;
}
- who = url_encode(who);
g_snprintf(buf, sizeof(buf), "ADD %d BL %s %s\r\n", ++md->trId, who, who);
if (msn_write(md->fd, buf, strlen(buf)) < 0) {
hide_login_progress(gc, "Write error");
@@ -1947,7 +1937,6 @@
struct msn_data *md = gc->proto_data;
char buf[MSN_BUF_LEN];
- who = url_encode(who);
g_snprintf(buf, sizeof(buf), "REM %d BL %s\r\n", ++md->trId, who);
if (msn_write(md->fd, buf, strlen(buf)) < 0) {
hide_login_progress(gc, "Write error");
|