diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-01-17 16:26:21 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-01-18 10:55:05 +0100 |
commit | 08051ae29e53e83844bffb67bfe8ecf1cf4dc887 (patch) | |
tree | ee2e5bc0106373643658fe7f1acd5de99ae21f35 /source4 | |
parent | 489e3372d629a56b8f6c433f99ae750d16eecc2c (diff) | |
download | samba-08051ae29e53e83844bffb67bfe8ecf1cf4dc887.tar.gz samba-08051ae29e53e83844bffb67bfe8ecf1cf4dc887.tar.bz2 samba-08051ae29e53e83844bffb67bfe8ecf1cf4dc887.zip |
s4-pygensec Fix indentation of py_gensec_start_mech_by_name()
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/gensec/pygensec.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source4/auth/gensec/pygensec.c b/source4/auth/gensec/pygensec.c index 30c83195c9..80fdd728e0 100644 --- a/source4/auth/gensec/pygensec.c +++ b/source4/auth/gensec/pygensec.c @@ -213,20 +213,20 @@ static PyObject *py_gensec_session_info(PyObject *self) static PyObject *py_gensec_start_mech_by_name(PyObject *self, PyObject *args) { - char *name; - struct gensec_security *security = py_talloc_get_type(self, struct gensec_security); - NTSTATUS status; + char *name; + struct gensec_security *security = py_talloc_get_type(self, struct gensec_security); + NTSTATUS status; - if (!PyArg_ParseTuple(args, "s", &name)) - return NULL; + if (!PyArg_ParseTuple(args, "s", &name)) + return NULL; - status = gensec_start_mech_by_name(security, name); - if (!NT_STATUS_IS_OK(status)) { - PyErr_SetNTSTATUS(status); - return NULL; - } + status = gensec_start_mech_by_name(security, name); + if (!NT_STATUS_IS_OK(status)) { + PyErr_SetNTSTATUS(status); + return NULL; + } - Py_RETURN_NONE; + Py_RETURN_NONE; } static PyObject *py_gensec_start_mech_by_authtype(PyObject *self, PyObject *args) |