]> git.ipfire.org Git - thirdparty/cups.git/commit
fix _cupsGet1284Values
authorliuli <liuli@uniontech.com>
Fri, 3 Sep 2021 02:23:18 +0000 (10:23 +0800)
committerGitHub <noreply@github.com>
Fri, 3 Sep 2021 02:23:18 +0000 (10:23 +0800)
commit9181b66c253df3ef00fbc99763a5242a9fdf86bc
treefcebc65991090b1fb2605a6e7b84bd5c3e04cbec
parent781f80addcbd12f020e2b5d918fcd6705883cbd9
fix _cupsGet1284Values

when 1284id doesn't end with semicolon,_cupsGet1284Values() cannot get last key and value.
eg.
uos@uos-PC:/usr/lib/cups/backend/snmp 10.10.120.220
network socket://10.10.120.220 "Unknown" "FUJI XEROX ApeosPort-V 4070 v  3. 43.  0 Multifunction System" "MANUFACTURER:FUJI XEROX;MODEL:ApeosPort-V 4070" ""
cups/options.c