From ad0f171973ad037151c8674d9b026617ab5b5ba7 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sun, 28 Apr 2013 20:32:30 +0000 Subject: 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 --- nslcd/myldap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nslcd/myldap.c') 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); -- cgit v1.2.3