]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/ipp.c
Update version to 2.3.3 for:
[thirdparty/cups.git] / cups / ipp.c
index 1595b8b6103e0c938dcb9f1a6172ea9b1c7d249e..3d529346c270a6d30edd823b9d8f0a432d43669d 100644 (file)
@@ -2956,7 +2956,7 @@ ippReadIO(void       *src,                /* I - Data source */
             * Read 32-bit "extension" tag...
             */
 
-           if ((*cb)(src, buffer, 4) < 1)
+           if ((*cb)(src, buffer, 4) < 4)
            {
              DEBUG_puts("1ippReadIO: Callback returned EOF/error");
              _cupsBufferRelease((char *)buffer);