Sfoglia il codice sorgente

* Missed an invalid close()

svn: 2056
Bryan Drewery 21 anni fa
parent
commit
02e6e39214
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/conf.c

+ 1 - 1
src/conf.c

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