1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-31 20:22:15 +03:00

r1789: compiler warnings from SuSE

(This used to be commit 7e44193be1)
This commit is contained in:
Gerald Carter
2004-08-12 20:27:09 +00:00
committed by Gerald (Jerry) Carter
parent efeeb48740
commit a817cc16b2
2 changed files with 6 additions and 2 deletions

View File

@ -26,6 +26,10 @@
#ifdef HAVE_KRB5 #ifdef HAVE_KRB5
#if !defined(HAVE_KRB5_PRINC_COMPONENT)
const krb5_data *krb5_princ_component(krb5_context, krb5_principal, int );
#endif
/********************************************************************************** /**********************************************************************************
Try to verify a ticket using the system keytab... the system keytab has kvno -1 entries, so Try to verify a ticket using the system keytab... the system keytab has kvno -1 entries, so
it's more like what microsoft does... see comment in utils/net_ads.c in the it's more like what microsoft does... see comment in utils/net_ads.c in the

View File

@ -190,12 +190,12 @@ PyObject *spoolss_hnd_getprinterdriver(PyObject *self, PyObject *args,
werror = cli_spoolss_getprinterdriver( werror = cli_spoolss_getprinterdriver(
hnd->cli, hnd->mem_ctx, 0, &needed, &hnd->pol, level, hnd->cli, hnd->mem_ctx, 0, &needed, &hnd->pol, level,
version, arch, &ctr); arch, version, &ctr);
if (W_ERROR_V(werror) == ERRinsufficientbuffer) if (W_ERROR_V(werror) == ERRinsufficientbuffer)
werror = cli_spoolss_getprinterdriver( werror = cli_spoolss_getprinterdriver(
hnd->cli, hnd->mem_ctx, needed, NULL, &hnd->pol, hnd->cli, hnd->mem_ctx, needed, NULL, &hnd->pol,
level, version, arch, &ctr); level, arch, version, &ctr);
if (!W_ERROR_IS_OK(werror)) { if (!W_ERROR_IS_OK(werror)) {
PyErr_SetObject(spoolss_werror, py_werror_tuple(werror)); PyErr_SetObject(spoolss_werror, py_werror_tuple(werror));