winspool: An empty string as server name is valid for AddPrinterDriver.
This commit is contained in:
parent
18db853973
commit
dde6d8b185
|
@ -3942,7 +3942,7 @@ BOOL WINAPI AddPrinterDriverA(LPSTR pName, DWORD level, LPBYTE pDriverInfo)
|
||||||
SetLastError(ERROR_INVALID_LEVEL);
|
SetLastError(ERROR_INVALID_LEVEL);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
if(pName != NULL) {
|
if ((pName) && (pName[0])) {
|
||||||
FIXME("pName= %s - unsupported\n", debugstr_a(pName));
|
FIXME("pName= %s - unsupported\n", debugstr_a(pName));
|
||||||
SetLastError(ERROR_INVALID_PARAMETER);
|
SetLastError(ERROR_INVALID_PARAMETER);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue