From: mike Date: Fri, 8 Mar 2013 17:56:02 +0000 (+0000) Subject: Two more spots we should be using cupsdUnlinkOrRemoveFile. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ace9d99043108289d3ec7a689a21721cb1b6ecd6;p=thirdparty%2Fcups.git Two more spots we should be using cupsdUnlinkOrRemoveFile. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10886 7a7537e8-13f0-0310-91df-b6672ffda945 --- diff --git a/scheduler/client.c b/scheduler/client.c index 0b26203d4a..98a8c3e28e 100644 --- a/scheduler/client.c +++ b/scheduler/client.c @@ -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); /*