mirror of
https://github.com/samba-team/samba.git
synced 2025-07-31 20:22:15 +03:00
r1789: compiler warnings from SuSE
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
f454821ff5
commit
7e44193be1
@ -190,12 +190,12 @@ PyObject *spoolss_hnd_getprinterdriver(PyObject *self, PyObject *args,
|
||||
|
||||
werror = cli_spoolss_getprinterdriver(
|
||||
hnd->cli, hnd->mem_ctx, 0, &needed, &hnd->pol, level,
|
||||
version, arch, &ctr);
|
||||
arch, version, &ctr);
|
||||
|
||||
if (W_ERROR_V(werror) == ERRinsufficientbuffer)
|
||||
werror = cli_spoolss_getprinterdriver(
|
||||
hnd->cli, hnd->mem_ctx, needed, NULL, &hnd->pol,
|
||||
level, version, arch, &ctr);
|
||||
level, arch, version, &ctr);
|
||||
|
||||
if (!W_ERROR_IS_OK(werror)) {
|
||||
PyErr_SetObject(spoolss_werror, py_werror_tuple(werror));
|
||||
|
Reference in New Issue
Block a user