nss-pam-ldapd commit: r1362 - nss-pam-ldapd/nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1362 - nss-pam-ldapd/nslcd
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1362 - nss-pam-ldapd/nslcd
- Date: Sat, 1 Jan 2011 15:12:17 +0100 (CET)
Author: arthur
Date: Sat Jan 1 15:12:15 2011
New Revision: 1362
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1362
Log:
include definition of rc in all code paths because it's used most of the time
Modified:
nss-pam-ldapd/nslcd/myldap.c
Modified: nss-pam-ldapd/nslcd/myldap.c
==============================================================================
--- nss-pam-ldapd/nslcd/myldap.c Sat Jan 1 15:10:53 2011 (r1361)
+++ nss-pam-ldapd/nslcd/myldap.c Sat Jan 1 15:12:15 2011 (r1362)
@@ -5,7 +5,7 @@
Copyright (C) 1997-2006 Luke Howard
Copyright (C) 2006, 2007 West Consulting
- Copyright (C) 2006, 2007, 2008, 2009, 2010 Arthur de Jong
+ Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -377,9 +377,7 @@
code. */
static int do_bind(LDAP *ld,const char *binddn,const char *bindpw,const char
*uri)
{
-#ifdef LDAP_OPT_X_TLS
int rc;
-#endif /* LDAP_OPT_X_TLS */
#ifdef HAVE_LDAP_SASL_INTERACTIVE_BIND_S
#ifndef HAVE_SASL_INTERACT_T
struct berval cred;
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits
- nss-pam-ldapd commit: r1362 - nss-pam-ldapd/nslcd,
Commits of the nss-pam-ldapd project