Converted enumprinters and enumports cmd functions to use WERROR
authorTim Potter <tpot@samba.org>
Sun, 6 Jan 2002 09:03:48 +0000 (09:03 +0000)
committerTim Potter <tpot@samba.org>
Sun, 6 Jan 2002 09:03:48 +0000 (09:03 +0000)
commit2f25e5118fde9be14275e9ffb1edb210d231dac3
tree3beacd41b54b8891da231f74357e33622484c3c6
parentb77eec91dc6b6df63dcff57fe465f0b4eb73d7a1
Converted enumprinters and enumports cmd functions to use WERROR
values returned from cli functions.  They are converted to NTSTATUS codes
using the error map functions.

Do buffer size loop checks by setting offered = 0 and using the return
value of needed in the next call.
(This used to be commit 4efbdda3fcfd1fad2f2b8909d250735382497836)
source3/rpcclient/cmd_spoolss.c