]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix build problem (oops).
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 9 Jul 2014 17:02:38 +0000 (17:02 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 9 Jul 2014 17:02:38 +0000 (17:02 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/branches/branch-1.7@12009 a1ca3aef-8c08-0410-bb20-df032aa958be

scheduler/client.c

index 8037b49dd943f323f3e75d030121c8687d22314c..deb02316162a04b9550b46870d15941f4bbf817e 100644 (file)
@@ -3349,7 +3349,7 @@ get_file(cupsd_client_t *con,             /* I  - Client connection */
 
   if (!status && S_ISLNK(filestats->st_mode))
   {
-    cupsdLogClient(con, CUPSD_LOG_INFO, "Symlinks such as \"%s\" are not allowed.", filename);
+    cupsdLogMessage(CUPSD_LOG_INFO, "[Client %d] Symlinks such as \"%s\" are not allowed.", con->http.fd, filename);
     return (NULL);
   }
 
@@ -3360,7 +3360,7 @@ get_file(cupsd_client_t *con,             /* I  - Client connection */
 
   if (!status && !(filestats->st_mode & S_IROTH))
   {
-    cupsdLogClient(con, CUPSD_LOG_INFO, "Files/directories such as \"%s\" must be world-readable.", filename);
+    cupsdLogMessage(CUPSD_LOG_INFO, "[Client %d] Files/directories such as \"%s\" must be world-readable.", con->http.fd, filename);
     return (NULL);
   }