Ver código fonte

* Missed an invalid close()

svn: 2056
Bryan Drewery 21 anos atrás
pai
commit
02e6e39214
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/conf.c

+ 1 - 1
src/conf.c

@@ -179,7 +179,7 @@ confedit()
   um = umask(077);
 
   writeconf(NULL, tmpconf.f, CONF_COMMENT);
-  fclose(tmpconf.f);
+  tmpconf.my_close();
   (void) umask(um);
 
   if (!can_stat(tmpconf.file))