Mercurial > pidgin.yaz
comparison src/toc.c @ 1491:5a5284be5d66
[gaim-migrate @ 1501]
grr
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 16 Feb 2001 20:55:04 +0000 |
parents | d74112de59ed |
children | de0b946e86a4 |
comparison
equal
deleted
inserted
replaced
1490:44528cc8e8ff | 1491:5a5284be5d66 |
---|---|
46 #include "pixmaps/aol_icon.xpm" | 46 #include "pixmaps/aol_icon.xpm" |
47 #include "pixmaps/away_icon.xpm" | 47 #include "pixmaps/away_icon.xpm" |
48 #include "pixmaps/dt_icon.xpm" | 48 #include "pixmaps/dt_icon.xpm" |
49 #include "pixmaps/free_icon.xpm" | 49 #include "pixmaps/free_icon.xpm" |
50 | 50 |
51 #define REVISION "gaim:$Revision: 1479 $" | 51 #define REVISION "gaim" |
52 | 52 |
53 #define TYPE_SIGNON 1 | 53 #define TYPE_SIGNON 1 |
54 #define TYPE_DATA 2 | 54 #define TYPE_DATA 2 |
55 #define TYPE_ERROR 3 | 55 #define TYPE_ERROR 3 |
56 #define TYPE_SIGNOFF 4 | 56 #define TYPE_SIGNOFF 4 |
318 signoff(gc); | 318 signoff(gc); |
319 return; | 319 return; |
320 } | 320 } |
321 | 321 |
322 debug_printf("* Client sends TOC \"toc_signon\" message\n"); | 322 debug_printf("* Client sends TOC \"toc_signon\" message\n"); |
323 g_snprintf(snd, sizeof snd, "toc_signon %s %d %s %s %s \"%s\"", | 323 g_snprintf(snd, sizeof snd, "toc_signon %s %d %s %s %s \"%s\"", |
324 AUTH_HOST, AUTH_PORT, normalize(gc->username), | 324 AUTH_HOST, AUTH_PORT, normalize(gc->username), |
325 roast_password(gc->password), LANGUAGE, REVISION); | 325 roast_password(gc->password), LANGUAGE, REVISION); |
326 if (sflap_send(gc, snd, -1, TYPE_DATA) < 0) { | 326 if (sflap_send(gc, snd, -1, TYPE_DATA) < 0) { |
327 hide_login_progress(gc, _("Disconnected.")); | 327 hide_login_progress(gc, _("Disconnected.")); |
328 signoff(gc); | 328 signoff(gc); |