mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 06:45:24 +00:00
[WINSPOOL]
Bugfix: winspool.drv shall only do local connections for now. Even if wszName may include a computer name that needs to be extracted in the future, it must in no way be directly passed as the NetworkAddr parameter. Fixes problems when using the spooler components with the "ncacn_np" protocol or with Windows' rpcrt4.dll. svn path=/branches/colins-printing-for-freedom/; revision=68417
This commit is contained in:
parent
e00279af25
commit
9995ecdc6c
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ WINSPOOL_HANDLE_bind(WINSPOOL_HANDLE wszName)
|
|||
RPC_STATUS Status;
|
||||
|
||||
// Get us a string binding handle from the supplied connection information
|
||||
Status = RpcStringBindingComposeW(NULL, L"ncalrpc", wszName, L"spoolss", NULL, &wszStringBinding);
|
||||
Status = RpcStringBindingComposeW(NULL, L"ncalrpc", NULL, L"spoolss", NULL, &wszStringBinding);
|
||||
if (Status != RPC_S_OK)
|
||||
{
|
||||
ERR("RpcStringBindingComposeW failed with status %ld!\n", Status);
|
||||
|
|
Loading…
Reference in a new issue