1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

Fix compile of py_net.c

This commit is contained in:
Andrew Bartlett 2009-07-28 18:00:13 +10:00
parent 058cd95c88
commit 4e049b0a1c

View File

@ -20,6 +20,7 @@
#include "includes.h"
#include <Python.h>
#include "libnet.h"
#include "auth/credentials/pycredentials.h"
#include "libcli/security/security.h"
#include "lib/events/events.h"
#include "param/param.h"
@ -35,7 +36,8 @@ static struct libnet_context *py_net_ctx(PyObject *obj, struct tevent_context *e
if (!libnet) {
return NULL;
}
libnet->credentials = creds;
libnet->cred = creds;
return libnet;
}
static PyObject *py_net_join(PyObject *cls, PyObject *args, PyObject *kwargs)