[SCM] Samba Shared Repository - branch master updated

Jelmer Vernooij jelmer at samba.org
Thu May 17 20:51:04 MDT 2012

The branch, master has been updated
       via  01c502d pygensec: Fix init of variable if not specified.
      from  e0b924b Note that "keepalive" only applies to SMB1 connections.


- Log -----------------------------------------------------------------
commit 01c502ddd41857e2dea9a01ac4afbe48e5ea1fdd
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Thu May 17 23:48:26 2012 +0200

    pygensec: Fix init of variable if not specified.
    Thanks to Wolfgang Sourdeau for reporting this.
    Bug: https://bugzilla.samba.org/show_bug.cgi?id=8946
    Autobuild-User: Jelmer Vernooij <jelmer at samba.org>
    Autobuild-Date: Fri May 18 04:50:17 CEST 2012 on sn-devel-104


Summary of changes:
 source4/auth/gensec/pygensec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Changeset truncated at 500 lines:

diff --git a/source4/auth/gensec/pygensec.c b/source4/auth/gensec/pygensec.c
index 5a8744d..a991aef 100644
--- a/source4/auth/gensec/pygensec.c
+++ b/source4/auth/gensec/pygensec.c
@@ -81,7 +81,7 @@ static PyObject *py_gensec_start_client(PyTypeObject *type, PyObject *args, PyOb
 	pytalloc_Object *self;
 	struct gensec_settings *settings;
 	const char *kwnames[] = { "settings", NULL };
-	PyObject *py_settings;
+	PyObject *py_settings = Py_None;
 	struct gensec_security *gensec;
 	if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|O", discard_const_p(char *, kwnames), &py_settings))

Samba Shared Repository

More information about the samba-cvs mailing list