# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: H:\My Documents\Projects\CUPS\cups-1.3.x\scheduler # 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 --- client.c Base (BASE) +++ client.c Locally Modified (Based On LOCAL) @@ -1592,6 +1592,7 @@ * POST to a file... */ + off_t temp = con->http.data_remaining; if ((filename = get_file(con, &filestats, buf, sizeof(buf))) == NULL) { @@ -1603,6 +1604,7 @@ break; } + con->http.data_remaining = temp; type = mimeFileType(MimeDatabase, filename, NULL, NULL);