From f695cb55e07f6a9900f83111ad348f8db9418fa5 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 26 Mar 2025 15:59:20 -0400 Subject: [PATCH] Fix response from Create-Xxx-Subscriptions request to include all Subscription object attributes (Issue #1204) --- scheduler/ipp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.47.3