From 95ca5fbadd390fe056ee2e8f9716ee478904458e Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 18 Mar 2012 16:46:57 +0100 Subject: libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a ndr_ prefix. This makes the NDR namespace a bit clearer, in preparation of ABI checking. --- source4/librpc/rpc/pyrpc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source4/librpc/rpc/pyrpc.c') diff --git a/source4/librpc/rpc/pyrpc.c b/source4/librpc/rpc/pyrpc.c index 23961e7a07..67462f18f3 100644 --- a/source4/librpc/rpc/pyrpc.c +++ b/source4/librpc/rpc/pyrpc.c @@ -262,10 +262,9 @@ static PyObject *py_iface_alter_context(PyObject *self, PyObject *args, PyObject return NULL; if (py_transfer_syntax == Py_None) { - transfer_syntax = ndr_transfer_syntax; + transfer_syntax = ndr_transfer_syntax_ndr; } else { - if (!ndr_syntax_from_py_object(py_transfer_syntax, - &transfer_syntax)) + if (!ndr_syntax_from_py_object(py_transfer_syntax, &transfer_syntax)) return NULL; } -- cgit