]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Adjust #893 for stream 2.4.x
authorZdenek Dohnal <zdohnal@redhat.com>
Thu, 8 Aug 2024 06:50:26 +0000 (08:50 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Thu, 8 Aug 2024 06:50:26 +0000 (08:50 +0200)
cups/ipp.c
cups/tls-gnutls.c

index f44dd0553cfd34b3d741e17160f45bb6d502d8a3..47ba9fa261d3d0a954f2e4d401b132ce6d0529b9 100644 (file)
@@ -3208,7 +3208,7 @@ ippReadIO(void       *src,                /* I - Data source */
            if ((attr = ipp->current = ipp_add_attr(ipp, (char *)buffer, ipp->curtag, tag,
                                                    1)) == NULL)
            {
-+            _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to allocate IPP attribute."), 1);
+             _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unable to allocate IPP attribute."), 1);
              DEBUG_puts("1ippReadIO: unable to allocate attribute.");
              goto rollback;
            }
index b1fc298bf9fb7452859eafc8942b6cef1d1a7136..f3f71a05557727ff4f4504c575514e07795dbb17 100644 (file)
@@ -1310,7 +1310,7 @@ _httpTLSStart(http_t *http)               /* I - Connection to server */
                   strerror(errno)));
     http->error  = errno;
     http->status = HTTP_STATUS_ERROR;
-    _cupsSetHTTPError(HTTP_STATUS_ERROR);
+    _cupsSetHTTPError(http, HTTP_STATUS_ERROR);
 
     return (-1);
   }