changeset 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 5bed3bc833b5
children 07ceb54dc96a
files src/gaimrc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gaimrc.c	Wed May 30 18:26:52 2001 +0000
+++ b/src/gaimrc.c	Wed May 30 22:19:39 2001 +0000
@@ -792,7 +792,7 @@
 		} else if (!strcmp(p->option, "port")) {
 			proxyport = atoi(p->value[0]);
 		} else if (!strcmp(p->option, "type")) {
-			proxyport = atoi(p->value[0]);
+			proxytype = atoi(p->value[0]);
 		} else if (!strcmp(p->option, "user")) {
 			g_snprintf(proxyuser, sizeof(proxyuser), "%s", p->value[0]);
 		} else if (!strcmp(p->option, "pass")) {
@@ -808,7 +808,7 @@
 	fprintf(f, "\tport { %d }\n", proxyport);
 	fprintf(f, "\ttype { %d }\n", proxytype);
 	fprintf(f, "\tuser { %s }\n", proxyuser);
-	fprintf(f, "\tport { %s }\n", proxypass);
+	fprintf(f, "\tpass { %s }\n", proxypass);
 	fprintf(f, "}\n");
 }