Mercurial > pidgin
comparison src/toc.c @ 1368:12365cb601cb
[gaim-migrate @ 1378]
patch from tftv256, slightly modified. IE sucks shit.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Wed, 03 Jan 2001 04:31:12 +0000 |
| parents | b332d8f46b84 |
| children | 776bb4c6c0b8 |
comparison
equal
deleted
inserted
replaced
| 1367:ad346597b7b2 | 1368:12365cb601cb |
|---|---|
| 44 #include "pixmaps/aol_icon.xpm" | 44 #include "pixmaps/aol_icon.xpm" |
| 45 #include "pixmaps/away_icon.xpm" | 45 #include "pixmaps/away_icon.xpm" |
| 46 #include "pixmaps/dt_icon.xpm" | 46 #include "pixmaps/dt_icon.xpm" |
| 47 #include "pixmaps/free_icon.xpm" | 47 #include "pixmaps/free_icon.xpm" |
| 48 | 48 |
| 49 #define REVISION "gaim:$Revision: 1343 $" | 49 #define REVISION "gaim:$Revision: 1378 $" |
| 50 | 50 |
| 51 #define TYPE_SIGNON 1 | 51 #define TYPE_SIGNON 1 |
| 52 #define TYPE_DATA 2 | 52 #define TYPE_DATA 2 |
| 53 #define TYPE_ERROR 3 | 53 #define TYPE_ERROR 3 |
| 54 #define TYPE_SIGNOFF 4 | 54 #define TYPE_SIGNOFF 4 |
| 724 sflap_send(g, buf, -1, TYPE_DATA); | 724 sflap_send(g, buf, -1, TYPE_DATA); |
| 725 } | 725 } |
| 726 | 726 |
| 727 static void toc_set_info(struct gaim_connection *g, char *info) | 727 static void toc_set_info(struct gaim_connection *g, char *info) |
| 728 { | 728 { |
| 729 char buf[MSG_LEN]; | 729 char buf[MSG_LEN], buf2[MSG_LEN]; |
| 730 escape_text(info); | 730 g_snprintf(buf2, sizeof buf2, "%s", info); |
| 731 g_snprintf(buf, sizeof(buf), "toc_set_info \"%s\n\"", info); | 731 escape_text(buf2); |
| 732 g_snprintf(buf, sizeof(buf), "toc_set_info \"%s\n\"", buf2); | |
| 732 sflap_send(g, buf, -1, TYPE_DATA); | 733 sflap_send(g, buf, -1, TYPE_DATA); |
| 733 } | 734 } |
| 734 | 735 |
| 735 static void toc_change_passwd(struct gaim_connection *g, char *orig, char *new) | 736 static void toc_change_passwd(struct gaim_connection *g, char *orig, char *new) |
| 736 { | 737 { |
