Commit dde6d8b1 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

winspool: An empty string as server name is valid for AddPrinterDriver.

parent 18db8539
......@@ -3942,7 +3942,7 @@ BOOL WINAPI AddPrinterDriverA(LPSTR pName, DWORD level, LPBYTE pDriverInfo)
SetLastError(ERROR_INVALID_LEVEL);
return FALSE;
}
if(pName != NULL) {
if ((pName) && (pName[0])) {
FIXME("pName= %s - unsupported\n", debugstr_a(pName));
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment