X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=scheduler%2Flog.c;h=4de1dc30cec6444a427bd303127b748c7746c08a;hb=c8fef167ba1e9d5d87fc77e4e99ca12ba9384cbb;hp=80ee8e077b41782ba8b39cc0791d69d3681bcf9d;hpb=e60ec91f3e2a38a90f17ee193db32f5c6bef27ed;p=thirdparty%2Fcups.git diff --git a/scheduler/log.c b/scheduler/log.c index 80ee8e077..4de1dc30c 100644 --- a/scheduler/log.c +++ b/scheduler/log.c @@ -3,7 +3,7 @@ * * Log file routines for the CUPS scheduler. * - * Copyright 2007-2010 by Apple Inc. + * Copyright 2007-2011 by Apple Inc. * Copyright 1997-2007 by Easy Software Products, all rights reserved. * * These coded instructions, statements, and computer programs are the @@ -696,7 +696,8 @@ cupsdLogRequest(cupsd_client_t *con, /* I - Request to log */ cupsFilePrintf(AccessFile, "%s - %s %s \"%s %s HTTP/%d.%d\" %d " CUPS_LLFMT " %s %s\n", - con->http.hostname, con->username[0] != '\0' ? con->username : "-", + con->http.hostname, + con->username[0] != '\0' ? con->username : "-", cupsdGetDateTime(&(con->start), LogTimeFormat), states[con->operation], _httpEncodeURI(temp, con->uri, sizeof(temp)),