1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-24 10:39:57 +01:00

* gpgkeys_ldap.c (main): Fix error return code.

This commit is contained in:
David Shaw 2002-10-09 02:01:36 +00:00
parent 67356cdd63
commit 338aab3be9
2 changed files with 5 additions and 1 deletions

View File

@ -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> 2002-09-26 Werner Koch <wk@gnupg.org>
* gpgkeys_ldap.c (send_key): Removed non-constant initializers. * gpgkeys_ldap.c (send_key): Removed non-constant initializers.

View File

@ -839,7 +839,7 @@ int main(int argc,char *argv[])
err=ldap_search_s(ldap,"cn=PGPServerInfo",LDAP_SCOPE_BASE, err=ldap_search_s(ldap,"cn=PGPServerInfo",LDAP_SCOPE_BASE,
"(objectclass=*)",attrs,0,&res); "(objectclass=*)",attrs,0,&res);
if(err==-1) if(err!=0)
{ {
fprintf(console,"gpgkeys: error retrieving LDAP server info: %s\n", fprintf(console,"gpgkeys: error retrieving LDAP server info: %s\n",
ldap_err2string(err)); ldap_err2string(err));