Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/myldap.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2013-04-28 22:32:30 +0200
committerArthur de Jong <arthur@arthurdejong.org>2013-04-28 22:32:30 +0200
commitad0f171973ad037151c8674d9b026617ab5b5ba7 (patch)
tree2a5478545f39d97a9d7b0c050139f20ba03d5009 /nslcd/myldap.c
parenteba8da5c631c0a904c60ab32b291213244c0bd0d (diff)
various typo and other comment fixes (4b01125, b0785de, bfdf7cd, 4689d5f, dba048b, ebe5705 and 122c38d from 0.9)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.8@1950 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/myldap.c')
-rw-r--r--nslcd/myldap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nslcd/myldap.c b/nslcd/myldap.c
index 6ff1bff..74f1591 100644
--- a/nslcd/myldap.c
+++ b/nslcd/myldap.c
@@ -5,7 +5,7 @@
Copyright (C) 1997-2006 Luke Howard
Copyright (C) 2006, 2007 West Consulting
- Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Arthur de Jong
+ Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 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
@@ -571,7 +571,7 @@ static int set_socket_timeout(LDAP *ld,time_t sec,suseconds_t usec)
#ifdef LDAP_OPT_CONNECT_CB
/* This function is called by the LDAP library once a connection was made to the server. We
- set a timeout on the socket here, to catch netzwork timeouts during the ssl
+ set a timeout on the socket here, to catch network timeouts during the ssl
handshake phase. It is configured with LDAP_OPT_CONNECT_CB. */
static int connect_cb(LDAP *ld,Sockbuf UNUSED(*sb),LDAPURLDesc UNUSED(*srv),
struct sockaddr UNUSED(*addr),struct ldap_conncb UNUSED(*ctx))
@@ -1348,7 +1348,7 @@ MYLDAP_ENTRY *myldap_get_entry(MYLDAP_SEARCH *search,int *rcp)
/* Get the DN from the entry. This function only returns NULL (and sets
errno) if an incorrect entry is passed. If the DN value cannot be
- retreived "unknown" is returned instead. */
+ retrieved "unknown" is returned instead. */
const char *myldap_get_dn(MYLDAP_ENTRY *entry)
{
int rc;
@@ -1359,7 +1359,7 @@ const char *myldap_get_dn(MYLDAP_ENTRY *entry)
errno=EINVAL;
return "unknown";
}
- /* if we don't have it yet, retreive it */
+ /* if we don't have it yet, retrieve it */
if ((entry->dn==NULL)&&(entry->search->valid))
{
entry->dn=ldap_get_dn(entry->search->session->ld,entry->search->msg);