diff options
Diffstat (limited to 'scheduler/ipp.c')
-rw-r--r-- | scheduler/ipp.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/scheduler/ipp.c b/scheduler/ipp.c index 7a2fecd74..fda29e60c 100644 --- a/scheduler/ipp.c +++ b/scheduler/ipp.c @@ -3,7 +3,7 @@ * * IPP routines for the CUPS scheduler. * - * Copyright 2007-2015 by Apple Inc. + * Copyright 2007-2016 by Apple Inc. * Copyright 1997-2007 by Easy Software Products, all rights reserved. * * This file contains Kerberos support code, copyright 2006 by @@ -7255,6 +7255,12 @@ get_subscription_attrs( con, con->number, sub_id); /* + * Expire subscriptions as needed... + */ + + cupsdExpireSubscriptions(NULL, NULL); + + /* * Is the subscription ID valid? */ @@ -7404,6 +7410,12 @@ get_subscriptions(cupsd_client_t *con, /* I - Client connection */ } /* + * Expire subscriptions as needed... + */ + + cupsdExpireSubscriptions(NULL, NULL); + + /* * Copy the subscription attributes to the response using the * requested-attributes attribute that may be provided by the client. */ |