Mercurial > pidgin.yaz
comparison src/protocols/msn/msn.c @ 6909:31a8936bbccc
[gaim-migrate @ 7456]
URL-encode the MSN friendly name of the buddy we're trying to drag so that
we don't get booted.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 21 Sep 2003 22:28:10 +0000 |
parents | 66dd420d3d23 |
children | 083d1e4a9c78 |
comparison
equal
deleted
inserted
replaced
6908:7729e280b169 | 6909:31a8936bbccc |
---|---|
1077 | 1077 |
1078 msn_user_ref(session->moving_user); | 1078 msn_user_ref(session->moving_user); |
1079 } | 1079 } |
1080 else { | 1080 else { |
1081 g_snprintf(outparams, sizeof(outparams), "FL %s %s %d", | 1081 g_snprintf(outparams, sizeof(outparams), "FL %s %s %d", |
1082 who, friendly, msn_group_get_id(new_group)); | 1082 who, msn_url_encode(friendly), |
1083 msn_group_get_id(new_group)); | |
1083 | 1084 |
1084 if (!msn_servconn_send_command(session->notification_conn, | 1085 if (!msn_servconn_send_command(session->notification_conn, |
1085 "ADD", outparams)) { | 1086 "ADD", outparams)) { |
1086 gaim_connection_error(gc, _("Write error")); | 1087 gaim_connection_error(gc, _("Write error")); |
1087 return; | 1088 return; |