summaryrefslogtreecommitdiff
path: root/source4/scripting/swig
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-01-25 10:20:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:11 -0500
commit29589f38950b1ec8e5d984a2e92fef577f26d743 (patch)
treec5017d9add93ecd1d243af9cd54c1941262e8277 /source4/scripting/swig
parent051c7b5e0c5db64e3da783471663996d6568e13f (diff)
downloadsamba-29589f38950b1ec8e5d984a2e92fef577f26d743.tar.gz
samba-29589f38950b1ec8e5d984a2e92fef577f26d743.tar.bz2
samba-29589f38950b1ec8e5d984a2e92fef577f26d743.zip
r4981: Fix swig build.
(This used to be commit b44ab87c83ad094ce4595c9702d6a21f30c1de26)
Diffstat (limited to 'source4/scripting/swig')
-rw-r--r--source4/scripting/swig/dcerpc.i4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/scripting/swig/dcerpc.i b/source4/scripting/swig/dcerpc.i
index 487876c2fb..89599367ed 100644
--- a/source4/scripting/swig/dcerpc.i
+++ b/source4/scripting/swig/dcerpc.i
@@ -368,7 +368,7 @@ PyObject *DATA_BLOB_to_python(DATA_BLOB obj)
/* Set REF_ALLOC flag so we don't have to do too much extra
mucking around with ref variables in ndr unmarshalling. */
- (*$1)->flags |= DCERPC_NDR_REF_ALLOC;
+ (*$1)->conn->flags |= DCERPC_NDR_REF_ALLOC;
/* Return swig handle on dcerpc_pipe */
@@ -399,14 +399,12 @@ const char *dcerpc_server_name(struct dcerpc_pipe *p);
#include "librpc/gen_ndr/ndr_misc.h"
#include "librpc/gen_ndr/ndr_lsa.h"
#include "librpc/gen_ndr/ndr_samr.h"
-#include "librpc/gen_ndr/ndr_winreg.h"
#include "librpc/gen_ndr/ndr_spoolss.h"
%}
%include "librpc/gen_ndr/misc.i"
%include "librpc/gen_ndr/lsa.i"
%include "librpc/gen_ndr/samr.i"
-%include "librpc/gen_ndr/winreg.i"
%include "librpc/gen_ndr/spoolss.i"
/* The status codes must be included last otherwise the automatically