From c9347c9c66b7fa220bf1cb9140b657ae6a1f9074 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 18 Jun 2024 19:54:33 -0400 Subject: [PATCH] Update to current libcups. --- libcups | 2 +- tools/ippproxy.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libcups b/libcups index aa05a183..f75ff93e 160000 --- a/libcups +++ b/libcups @@ -1 +1 @@ -Subproject commit aa05a1831b8df3532aab9fdc95f537c2d6cb603c +Subproject commit f75ff93efd2fc222e8943aa96d31782a42553455 diff --git a/tools/ippproxy.c b/tools/ippproxy.c index 57970bbf..00f2d154 100644 --- a/tools/ippproxy.c +++ b/tools/ippproxy.c @@ -1137,7 +1137,7 @@ run_job(proxy_info_t *info, /* I - Proxy information */ ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "output-device-uuid", NULL, info->device_uuid); ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, cupsGetUser()); - if (httpReconnect(info->http, 30000, NULL)) + if (httpConnectAgain(info->http, 30000, NULL)) { job_attrs = cupsDoRequest(info->http, request, info->resource); } @@ -1452,7 +1452,7 @@ run_printer( else sleep(30); - httpReconnect(http, 30000, NULL); + httpConnectAgain(http, 30000, NULL); } /* @@ -1887,7 +1887,7 @@ update_device_attrs( } } - if (httpReconnect(http, 30000, NULL)) + if (httpConnectAgain(http, 30000, NULL)) { ippDelete(cupsDoRequest(http, request, resource));