diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2010-03-11 06:44:46 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2010-03-11 06:44:46 +0000 |
commit | ba55dc12de9ef3103d220a332ad7d26c54e397fa (patch) | |
tree | c02b6f7c42126c87cbeb9738903bddad7483dd45 /scheduler/log.c | |
parent | 5a6b583acf40fd75a0eacaf886c6127fc122e516 (diff) | |
download | cups-ba55dc12de9ef3103d220a332ad7d26c54e397fa.tar.gz |
Merge changes from CUPS 1.5svn-r9037.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1968 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'scheduler/log.c')
-rw-r--r-- | scheduler/log.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scheduler/log.c b/scheduler/log.c index 15fcf972f..09bb273e9 100644 --- a/scheduler/log.c +++ b/scheduler/log.c @@ -3,7 +3,7 @@ * * Log file routines for the Common UNIX Printing System (CUPS). * - * Copyright 2007-2009 by Apple Inc. + * Copyright 2007-2010 by Apple Inc. * Copyright 1997-2007 by Easy Software Products, all rights reserved. * * These coded instructions, statements, and computer programs are the @@ -560,7 +560,7 @@ cupsdLogRequest(cupsd_client_t *con, /* I - Request to log */ if (AccessLogLevel < CUPSD_ACCESSLOG_ALL) { /* - * Eliminate simple GET requests... + * Eliminate simple GET, POST, and PUT requests... */ if ((con->operation == HTTP_GET && @@ -568,7 +568,8 @@ cupsdLogRequest(cupsd_client_t *con, /* I - Request to log */ strncmp(con->uri, "/admin/log", 10)) || (con->operation == HTTP_POST && !con->request && strncmp(con->uri, "/admin", 6)) || - (con->operation != HTTP_POST && con->operation != HTTP_PUT)) + (con->operation != HTTP_GET && con->operation != HTTP_POST && + con->operation != HTTP_PUT)) return (1); if (con->request && con->response && |