# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: H:\My Documents\Projects\CUPS\cups-1.3.x # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: client.c --- scheduler/client.c Base (BASE) +++ scheduler/client.c Locally Modified (Based On LOCAL) @@ -1416,6 +1416,7 @@ break; } + con->http.data_remaining = (int)filestats.st_size; type = mimeFileType(MimeDatabase, filename, NULL, NULL); @@ -3538,9 +3539,6 @@ con->http.fd, filename, status ? -1 : (int)filestats->st_size); - if (!status) - con->http.data_remaining = (int)filestats->st_size; - if (status) return (NULL); else