mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
* gpgkeys_ldap.c (main): Fix error return code.
This commit is contained in:
parent
67356cdd63
commit
338aab3be9
@ -1,3 +1,7 @@
|
||||
2002-10-08 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpgkeys_ldap.c (main): Fix error return code.
|
||||
|
||||
2002-09-26 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* gpgkeys_ldap.c (send_key): Removed non-constant initializers.
|
||||
|
@ -839,7 +839,7 @@ int main(int argc,char *argv[])
|
||||
|
||||
err=ldap_search_s(ldap,"cn=PGPServerInfo",LDAP_SCOPE_BASE,
|
||||
"(objectclass=*)",attrs,0,&res);
|
||||
if(err==-1)
|
||||
if(err!=0)
|
||||
{
|
||||
fprintf(console,"gpgkeys: error retrieving LDAP server info: %s\n",
|
||||
ldap_err2string(err));
|
||||
|
Loading…
x
Reference in New Issue
Block a user