comparison src/gaimrc.c @ 1264:6210d06da99b

[gaim-migrate @ 1274] no reason why it should have been 0 instead of PROTO_TOC, other than i didn't want to have to recompile gaimrc.c every time i modified prpl.h, which i was doing often a while back. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 14 Dec 2000 09:39:43 +0000
parents 9da444224f0e
children cb84b5c6d9ab
comparison
equal deleted inserted replaced
1263:f44bcae47188 1264:6210d06da99b
31 #include <unistd.h> 31 #include <unistd.h>
32 #include <stdio.h> 32 #include <stdio.h>
33 #include <stdlib.h> 33 #include <stdlib.h>
34 #include <gtk/gtk.h> 34 #include <gtk/gtk.h>
35 #include "gaim.h" 35 #include "gaim.h"
36 #include "prpl.h"
36 37
37 /* for people like myself, who are too lazy to add an away msg :) */ 38 /* for people like myself, who are too lazy to add an away msg :) */
38 #define BORING_DEFAULT_AWAY_MSG "sorry, i ran out for a while. bbl" 39 #define BORING_DEFAULT_AWAY_MSG "sorry, i ran out for a while. bbl"
39 #define MAX_VALUES 10 40 #define MAX_VALUES 10
40 41
456 strcpy(u->username, p->value[0]); 457 strcpy(u->username, p->value[0]);
457 strcpy(u->password, p->value[1]); 458 strcpy(u->password, p->value[1]);
458 459
459 u->user_info[0] = 0; 460 u->user_info[0] = 0;
460 u->options = OPT_USR_REM_PASS; 461 u->options = OPT_USR_REM_PASS;
461 u->protocol = 0; /* PROTO_TOC */ 462 u->protocol = PROTO_TOC;
462 463
463 if (!fgets(buf, sizeof(buf), f)) 464 if (!fgets(buf, sizeof(buf), f))
464 return u; 465 return u;
465 466
466 if (strcmp(buf, "\t\tuser_info {\n")) { 467 if (strcmp(buf, "\t\tuser_info {\n")) {