X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;ds=sidebyside;f=scheduler%2Fstatbuf.c;h=699a5c8b0bdf765a35338578ceaf4d267947076a;hb=bc44d92092094935265183305a38196ce2822756;hp=eb257d7876e289014e0f061bfbdbd1cef4e7878e;hpb=89d46774ee527faaaf27d1b696554f4508bf105b;p=thirdparty%2Fcups.git diff --git a/scheduler/statbuf.c b/scheduler/statbuf.c index eb257d787..699a5c8b0 100644 --- a/scheduler/statbuf.c +++ b/scheduler/statbuf.c @@ -1,26 +1,17 @@ /* - * "$Id: statbuf.c 5447 2006-04-21 20:07:51Z mike $" + * "$Id: statbuf.c 6649 2007-07-11 21:46:42Z mike $" * * Status buffer routines for the Common UNIX Printing System (CUPS) * scheduler. * + * Copyright 2007 by Apple Inc. * Copyright 1997-2006 by Easy Software Products, all rights reserved. * * These coded instructions, statements, and computer programs are the - * property of Easy Software Products and are protected by Federal - * copyright law. Distribution and use rights are outlined in the file - * "LICENSE.txt" which should have been included with this file. If this - * file is missing or damaged please contact Easy Software Products - * at: - * - * Attn: CUPS Licensing Information - * Easy Software Products - * 44141 Airport View Drive, Suite 204 - * Hollywood, Maryland 20636 USA - * - * Voice: (301) 373-9600 - * EMail: cups-info@cups.org - * WWW: http://www.cups.org + * property of Apple Inc. and are protected by Federal copyright + * law. Distribution and use rights are outlined in the file "LICENSE.txt" + * which should have been included with this file. If this file is + * file is missing or damaged, see the license at "http://www.cups.org/". * * Contents: * @@ -193,7 +184,7 @@ cupsdStatBufUpdate(cupsd_statbuf_t *sb, /* I - Status buffer */ lineptr = NULL; } - if (lineptr == NULL) + if (!lineptr) { /* * End of file... @@ -330,5 +321,5 @@ cupsdStatBufUpdate(cupsd_statbuf_t *sb, /* I - Status buffer */ /* - * End of "$Id: statbuf.c 5447 2006-04-21 20:07:51Z mike $". + * End of "$Id: statbuf.c 6649 2007-07-11 21:46:42Z mike $". */