From 11932ab93b6acd0a0388caf326fe9956e7b5c109 Mon Sep 17 00:00:00 2001 From: stroeder Date: Mon, 24 Apr 2017 13:48:15 +0000 Subject: [PATCH] white-space cleaning --- Modules/errors.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Modules/errors.c b/Modules/errors.c index e3abeb5..c34167c 100644 --- a/Modules/errors.c +++ b/Modules/errors.c @@ -2,7 +2,7 @@ * errors that arise from ldap use * Most errors become their own exception * See http://www.python-ldap.org/ for details. - * $Id: errors.c,v 1.26 2017/01/06 15:11:14 stroeder Exp $ */ + * $Id: errors.c,v 1.27 2017/04/24 13:48:15 stroeder Exp $ */ #include "common.h" #include "errors.h" @@ -99,10 +99,10 @@ LDAPerror( LDAP *l, char *msg ) } else if (ldap_get_option(l, LDAP_OPT_ERROR_STRING, &error) >= 0 && error != NULL) { if (*error != '\0') { - str = PyString_FromString(error); - if (str) - PyDict_SetItemString( info, "info", str ); - Py_XDECREF(str); + str = PyString_FromString(error); + if (str) + PyDict_SetItemString( info, "info", str ); + Py_XDECREF(str); } ldap_memfree(error); }