From: Zdenek Dohnal Date: Fri, 26 Aug 2022 08:31:16 +0000 (+0200) Subject: scheduler/ipp.c: new lines for readability X-Git-Tag: v2.4.3~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4405ebd485f1c7b5b33e905ea51896dfc35cbfcc;p=thirdparty%2Fcups.git scheduler/ipp.c: new lines for readability --- diff --git a/scheduler/ipp.c b/scheduler/ipp.c index fc575639b5..ec950557bd 100644 --- a/scheduler/ipp.c +++ b/scheduler/ipp.c @@ -5522,7 +5522,9 @@ create_local_printer( return; } + ptr = ippGetString(device_uri, 0, NULL); + if (!ptr || !ptr[0]) { send_ipp_status(con, IPP_STATUS_ERROR_BAD_REQUEST, _("Attribute \"%s\" has empty value."), "device-uri");