Commit 5de733e4 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

winspool: An empty string as server name is valid (EnumPrinterDrivers).

parent eb1b3976
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* Copyright 1999 Klaas van Gend * Copyright 1999 Klaas van Gend
* Copyright 1999, 2000 Huw D M Davies * Copyright 1999, 2000 Huw D M Davies
* Copyright 2001 Marcus Meissner * Copyright 2001 Marcus Meissner
* Copyright 2005, 2006 Detlef Riekenberg
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
...@@ -4042,9 +4043,9 @@ static BOOL WINSPOOL_EnumPrinterDrivers(LPWSTR pName, LPWSTR pEnvironment, ...@@ -4042,9 +4043,9 @@ static BOOL WINSPOOL_EnumPrinterDrivers(LPWSTR pName, LPWSTR pEnvironment,
Level, pDriverInfo, cbBuf, unicode); Level, pDriverInfo, cbBuf, unicode);
/* check for local drivers */ /* check for local drivers */
if(pName) { if((pName) && (pName[0])) {
ERR("remote drivers unsupported! Current remote host is %s\n", FIXME("remote drivers (%s) not supported!\n", debugstr_w(pName));
debugstr_w(pName)); SetLastError(ERROR_ACCESS_DENIED);
return FALSE; 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