It's bugfixing time!
authorColin Finck <colin@reactos.org>
Mon, 20 Jul 2015 15:21:03 +0000 (15:21 +0000)
committerColin Finck <colin@reactos.org>
Mon, 20 Jul 2015 15:21:03 +0000 (15:21 +0000)
commit087c85a5d32fb490e960b94abb37517e17de9d44
treed0a7630c1fc1d573de2dafa7754edd6347a56b0f
parent9995ecdc6c0c28eee02c3a832081454076d40a8e
It's bugfixing time!

[LOCALSPL]
- A Print Job has more optional fields than I thought. Only do a wcslen on them if they are not NULL.
- Make the code for checking changed fields more robust. Add checks for NULL to the Find and Compare functions.
- Fix some wrong parameters given to CopyMemory.
- Set the pPort field of a LOCAL_PRINTER structure.

[WINSPOOL]
Only pass the datatype from the DOC_INFO_1W structure of StartDocPrinterW to SetJobW if it's not NULL.
For StartDocPrinterW, this means that the datatype shall not be changed while SetJobW would return ERROR_INVALID_DATATYPE if none was passed.

svn path=/branches/colins-printing-for-freedom/; revision=68471
reactos/win32ss/printing/base/winspool/printers.c
reactos/win32ss/printing/providers/localspl/jobs.c
reactos/win32ss/printing/providers/localspl/monitors.c
reactos/win32ss/printing/providers/localspl/ports.c
reactos/win32ss/printing/providers/localspl/precomp.h
reactos/win32ss/printing/providers/localspl/printers.c
reactos/win32ss/printing/providers/localspl/printprocessors.c