case IPP_TAG_CHARSET :
case IPP_TAG_LANGUAGE :
case IPP_TAG_URI :
- for (valptr = attr->values[i].string.text; *valptr;)
+ for (valptr = attr->values[i].string.text; *valptr; valptr ++)
{
/*
* Convert tabs and newlines to spaces, filter out control chars,
{
if (strchr("\\\'\"", *valptr))
*optptr++ = '\\';
- *optptr++ = *valptr++;
+ *optptr++ = *valptr;
}
}
#
# Test the lp command.
#
-# Copyright © 2020-2024 by OpenPrinting.
+# Copyright © 2020-2026 by OpenPrinting.
# Copyright © 2007-2019 by Apple Inc.
# Copyright © 1997-2005 by Easy Software Products, all rights reserved.
#
echo "LP Flood Test ($1 times in parallel)"
echo ""
-echo " lp -d Test1 testfile.jpg"
-echo " lp -d Test2 testfile.jpg"
+echo " lp -d Test1 -t 'Flood Test N' testfile.jpg"
+echo " lp -d Test2 -t 'Flood Test N' testfile.jpg"
i=0
pids=""
while test $i -lt $1; do
j=`expr $j + 1`
done
- $runcups $VALGRIND ../systemv/lp -d Test1 ../examples/testfile.jpg 2>&1 &
+ $runcups $VALGRIND ../systemv/lp -d Test1 -t "Flood Test $j" ../examples/testfile.jpg 2>&1 &
pids="$pids $!"
- $runcups $VALGRIND ../systemv/lp -d Test2 ../examples/testfile.jpg 2>&1 &
+ $runcups $VALGRIND ../systemv/lp -d Test2 -t "Flood Test $j" ../examples/testfile.jpg 2>&1 &
pids="$pids $!"
i=`expr $i + 1`