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

This commit is contained in:
Detlef Riekenberg 2006-06-19 23:58:24 +02:00 committed by Alexandre Julliard
parent 18db853973
commit dde6d8b185

View File

@ -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;