Fix crash bugs in getprinter info level code (yay unit tests).
authorTim Potter <tpot@samba.org>
Mon, 9 Sep 2002 04:43:38 +0000 (04:43 +0000)
committerTim Potter <tpot@samba.org>
Mon, 9 Sep 2002 04:43:38 +0000 (04:43 +0000)
commitfc5e186821abc429ea8314d0785b76cbe1ec5f74
tree01c711e082669518e4e7dad38fdf4e97a81a28ac
parent69bb58b92e92113b3ce2c72a3bfa46ed3056c261
Fix crash bugs in getprinter info level code (yay unit tests).

Let the cli_spoolss function return invalid info level error rather
than checking for it ourselves.
source/python/py_spoolss_printers.c