changeset 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 4a2955b1ab1a
children 8d211ff092cb
files src/list.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
 	}