summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/print_cups.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index 44ae4916ca..59ab41b9f6 100644
--- a/source3/printing/print_cups.c
+++ b/source3/printing/print_cups.c
@@ -912,6 +912,8 @@ static int cups_queue_get(const char *printer_name,
* printer-uri
*/
+ request = ippNew();
+
request->request.op.operation_id = IPP_GET_PRINTER_ATTRIBUTES;
request->request.op.request_id = 1;