Skip to content

Commit f695cb5

Browse files
committed
Fix response from Create-Xxx-Subscriptions request to include all Subscription object attributes (Issue #1204)
1 parent 25f65dd commit f695cb5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

scheduler/ipp.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* IPP routines for the CUPS scheduler.
33
*
4-
* Copyright © 2020-2024 by OpenPrinting
4+
* Copyright © 2020-2025 by OpenPrinting
55
* Copyright © 2007-2021 by Apple Inc.
66
* Copyright © 1997-2007 by Easy Software Products, all rights reserved.
77
*
@@ -6101,8 +6101,7 @@ create_subscriptions(
61016101
}
61026102

61036103
ippAddSeparator(con->response);
6104-
ippAddInteger(con->response, IPP_TAG_SUBSCRIPTION, IPP_TAG_INTEGER,
6105-
"notify-subscription-id", sub->id);
6104+
copy_subscription_attrs(con, sub, /*ra*/NULL, /*exclude*/NULL);
61066105

61076106
con->response->request.status.status_code = IPP_STATUS_OK;
61086107

0 commit comments

Comments
 (0)