comparison src/protocols/msn/msn.c @ 3119:62997bfbe8bc

[gaim-migrate @ 3134] typo. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 31 Mar 2002 01:51:35 +0000
parents 712bc3205d9a
children 025a8042dd73
comparison
equal deleted inserted replaced
3118:712bc3205d9a 3119:62997bfbe8bc
761 { 761 {
762 struct msn_data *md = map->gc->proto_data; 762 struct msn_data *md = map->gc->proto_data;
763 char buf[MSN_BUF_LEN]; 763 char buf[MSN_BUF_LEN];
764 764
765 if (*(map->user)) { 765 if (*(map->user)) {
766 g_snprintf(buf, sizeof(buf), "ADD %d BL %s %s\r\n", ++md->trID, map->user, url_encode(map->friend)); 766 g_snprintf(buf, sizeof(buf), "ADD %d BL %s %s\r\n", ++md->trId, map->user, url_encode(map->friend));
767 if (msn_write(md->fd, buf, strlen(buf)) < 0) { 767 if (msn_write(md->fd, buf, strlen(buf)) < 0) {
768 hide_login_progress(map->gc, "Write error"); 768 hide_login_progress(map->gc, "Write error");
769 signoff(map->gc); 769 signoff(map->gc);
770 return; 770 return;
771 } 771 }