]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Two more spots we should be using cupsdUnlinkOrRemoveFile.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 8 Mar 2013 17:56:02 +0000 (17:56 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 8 Mar 2013 17:56:02 +0000 (17:56 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10886 7a7537e8-13f0-0310-91df-b6672ffda945

scheduler/client.c

index 0b26203d4a4202cca8c7efe28741d228abf9882d..98a8c3e28e7776c5b157601da23cc70b8a68c638 100644 (file)
@@ -3392,7 +3392,7 @@ install_cupsd_conf(cupsd_client_t *con)   /* I - Connection */
       cupsFileClose(out);
 
       snprintf(filename, sizeof(filename), "%s.N", ConfigurationFile);
-      cupsdRemoveFile(filename);
+      cupsdUnlinkOrRemoveFile(filename);
 
       return (HTTP_SERVER_ERROR);
     }
@@ -3410,7 +3410,7 @@ install_cupsd_conf(cupsd_client_t *con)   /* I - Connection */
   * Remove the request file...
   */
 
-  cupsdRemoveFile(con->filename);
+  cupsdUnlinkOrRemoveFile(con->filename);
   cupsdClearString(&con->filename);
 
  /*