r4981: Fix swig build.
authorTim Potter <tpot@samba.org>
Tue, 25 Jan 2005 10:20:24 +0000 (10:20 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:11 +0000 (13:09 -0500)
source/scripting/swig/dcerpc.i

index 487876c2fbd7f293cd11fd23965f639649a2fdb6..89599367ede8903f8e5709f9ce840e74719f9048 100644 (file)
@@ -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