diff src/list.c @ 3398:48a2e656bdf9

[gaim-migrate @ 3417] Thanks 162923752. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 16 Aug 2002 20:24:20 +0000
parents 1bd472b7f7a2
children 7a3f16a375a5
line wrap: on
line diff
--- a/src/list.c	Fri Aug 16 14:57:15 2002 +0000
+++ b/src/list.c	Fri Aug 16 20:24:20 2002 +0000
@@ -799,7 +799,7 @@
 		toc_build_config(g, buf, 8192 - 1, TRUE);
 		fprintf(f, "%s\n", buf);
 		fclose(f);
-		chmod(buf, S_IRUSR | S_IWUSR);
+		chmod(path, S_IRUSR | S_IWUSR);
 	} else {
 		debug_printf("unable to write %s\n", path);
 	}