From: mike Date: Wed, 3 Jan 2007 15:15:27 +0000 (+0000) Subject: Remove more compiler warnings. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=baccdba8668e2f0e02ea956ab09f6491ce8deaea;p=thirdparty%2Fcups.git Remove more compiler warnings. Fix DBUS arguments. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6175 7a7537e8-13f0-0310-91df-b6672ffda945 --- diff --git a/scheduler/auth.c b/scheduler/auth.c index bcb56ed613..a226fe0799 100644 --- a/scheduler/auth.c +++ b/scheduler/auth.c @@ -3,7 +3,7 @@ * * Authorization routines for the Common UNIX Printing System (CUPS). * - * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. * * This file contains Kerberos support code, copyright 2006 by * Jelmer Vernooij. diff --git a/scheduler/client.c b/scheduler/client.c index 81ae3c649a..3d53a6ef9b 100644 --- a/scheduler/client.c +++ b/scheduler/client.c @@ -3,7 +3,7 @@ * * Client routines for the Common UNIX Printing System (CUPS) scheduler. * - * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. * * This file contains Kerberos support code, copyright 2006 by * Jelmer Vernooij. diff --git a/scheduler/dirsvc.c b/scheduler/dirsvc.c index d2566dc296..ec5cf4d983 100644 --- a/scheduler/dirsvc.c +++ b/scheduler/dirsvc.c @@ -3,7 +3,7 @@ * * Directory services routines for the Common UNIX Printing System (CUPS). * - * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * Copyright 1997-2007 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 diff --git a/scheduler/ipp.c b/scheduler/ipp.c index 0ff77b62d0..e654f8702c 100644 --- a/scheduler/ipp.c +++ b/scheduler/ipp.c @@ -3,7 +3,7 @@ * * IPP routines for the Common UNIX Printing System (CUPS) scheduler. * - * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. * * This file contains Kerberos support code, copyright 2006 by * Jelmer Vernooij. diff --git a/scheduler/job.c b/scheduler/job.c index 4d2215d7d6..3dab69109f 100644 --- a/scheduler/job.c +++ b/scheduler/job.c @@ -3,7 +3,7 @@ * * Job management routines for the Common UNIX Printing System (CUPS). * - * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * Copyright 1997-2007 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 diff --git a/scheduler/main.c b/scheduler/main.c index 9f4a6da788..796a6001db 100644 --- a/scheduler/main.c +++ b/scheduler/main.c @@ -3,7 +3,7 @@ * * Scheduler main loop for the Common UNIX Printing System (CUPS). * - * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * Copyright 1997-2007 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 diff --git a/scheduler/process.c b/scheduler/process.c index 1abe18fb31..9c25c04c82 100644 --- a/scheduler/process.c +++ b/scheduler/process.c @@ -3,7 +3,7 @@ * * Process management routines for the Common UNIX Printing System (CUPS). * - * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * Copyright 1997-2007 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 diff --git a/scheduler/subscriptions.c b/scheduler/subscriptions.c index be823a75c0..79de7a461d 100644 --- a/scheduler/subscriptions.c +++ b/scheduler/subscriptions.c @@ -3,7 +3,7 @@ * * Subscription routines for the Common UNIX Printing System (CUPS) scheduler. * - * Copyright 1997-2006 by Easy Software Products, all rights reserved. + * Copyright 1997-2007 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 @@ -1359,11 +1359,11 @@ cupsd_send_dbus(cupsd_eventmask_t event,/* I - Event to send */ dbus_message_append_iter_init(message, &iter); if (dest) - dbus_message_iter_append_string(&iter, &(dest->name)); + dbus_message_iter_append_string(&iter, dest->name); if (job) { - dbus_message_iter_append_uint32(&iter, &(job->id)); - dbus_message_iter_append_string(&iter, &(job->username)); + dbus_message_iter_append_uint32(&iter, job->id); + dbus_message_iter_append_string(&iter, job->username); } dbus_connection_send(con, message, NULL);