Mercurial > pidgin
comparison src/gaimrc.c @ 1921:a84a41ecf380
[gaim-migrate @ 1931]
my cat is being such a little bitch
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 30 May 2001 22:19:39 +0000 |
parents | 318d6240ffe3 |
children | f0b54f592486 |
comparison
equal
deleted
inserted
replaced
1920:5bed3bc833b5 | 1921:a84a41ecf380 |
---|---|
790 if (!strcmp(p->option, "host")) { | 790 if (!strcmp(p->option, "host")) { |
791 g_snprintf(proxyhost, sizeof(proxyhost), "%s", p->value[0]); | 791 g_snprintf(proxyhost, sizeof(proxyhost), "%s", p->value[0]); |
792 } else if (!strcmp(p->option, "port")) { | 792 } else if (!strcmp(p->option, "port")) { |
793 proxyport = atoi(p->value[0]); | 793 proxyport = atoi(p->value[0]); |
794 } else if (!strcmp(p->option, "type")) { | 794 } else if (!strcmp(p->option, "type")) { |
795 proxyport = atoi(p->value[0]); | 795 proxytype = atoi(p->value[0]); |
796 } else if (!strcmp(p->option, "user")) { | 796 } else if (!strcmp(p->option, "user")) { |
797 g_snprintf(proxyuser, sizeof(proxyuser), "%s", p->value[0]); | 797 g_snprintf(proxyuser, sizeof(proxyuser), "%s", p->value[0]); |
798 } else if (!strcmp(p->option, "pass")) { | 798 } else if (!strcmp(p->option, "pass")) { |
799 g_snprintf(proxypass, sizeof(proxypass), "%s", p->value[0]); | 799 g_snprintf(proxypass, sizeof(proxypass), "%s", p->value[0]); |
800 } | 800 } |
806 fprintf(f, "proxy {\n"); | 806 fprintf(f, "proxy {\n"); |
807 fprintf(f, "\thost { %s }\n", proxyhost); | 807 fprintf(f, "\thost { %s }\n", proxyhost); |
808 fprintf(f, "\tport { %d }\n", proxyport); | 808 fprintf(f, "\tport { %d }\n", proxyport); |
809 fprintf(f, "\ttype { %d }\n", proxytype); | 809 fprintf(f, "\ttype { %d }\n", proxytype); |
810 fprintf(f, "\tuser { %s }\n", proxyuser); | 810 fprintf(f, "\tuser { %s }\n", proxyuser); |
811 fprintf(f, "\tport { %s }\n", proxypass); | 811 fprintf(f, "\tpass { %s }\n", proxypass); |
812 fprintf(f, "}\n"); | 812 fprintf(f, "}\n"); |
813 } | 813 } |
814 | 814 |
815 | 815 |
816 void set_defaults(int saveinfo) | 816 void set_defaults(int saveinfo) |