From: Michael R Sweet Date: Wed, 26 Mar 2025 19:59:20 +0000 (-0400) Subject: Fix response from Create-Xxx-Subscriptions request to include all Subscription object... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f695cb55e07f6a9900f83111ad348f8db9418fa5;p=thirdparty%2Fcups.git Fix response from Create-Xxx-Subscriptions request to include all Subscription object attributes (Issue #1204) --- diff --git a/scheduler/ipp.c b/scheduler/ipp.c index 34207ae00e..26c4a32329 100644 --- a/scheduler/ipp.c +++ b/scheduler/ipp.c @@ -1,7 +1,7 @@ /* * IPP routines for the CUPS scheduler. * - * Copyright © 2020-2024 by OpenPrinting + * Copyright © 2020-2025 by OpenPrinting * Copyright © 2007-2021 by Apple Inc. * Copyright © 1997-2007 by Easy Software Products, all rights reserved. * @@ -6101,8 +6101,7 @@ create_subscriptions( } ippAddSeparator(con->response); - ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_INTEGER, - "notify-subscription-id", sub->id); + copy_subscription_attrs(con, sub, /*ra*/NULL, /*exclude*/NULL); con->response->request.status.status_code = IPP_STATUS_OK;