simple fix to hopefully speed up srv_spoolss_replyopenprinter().
authorGerald Carter <jerry@samba.org>
Fri, 11 Apr 2003 20:32:54 +0000 (20:32 +0000)
committerGerald Carter <jerry@samba.org>
Fri, 11 Apr 2003 20:32:54 +0000 (20:32 +0000)
commit70231290eac4e3d9c034daaf44fb64947d9f1bee
treea6d9e547ec43f05c59d039cc464d2daccc34ff01
parent6b507aa9a993a7ddc90a4eb78c17164d65b681d3
simple fix to hopefully speed up srv_spoolss_replyopenprinter().
Use the client address from the pipe->conn->client_address
instead of trying to resolve the name in the _spoolss_rffpcn()
request.  Should make us more robust as well when the clients
are not registered in DNS or WINS.
(This used to be commit 78b2c1be7d9923716841627044c4e1578a5b9546)
source3/rpc_server/srv_spoolss_nt.c