mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* gpgkeys_ldap.c (main): Fix error return code.
This commit is contained in:
parent
67356cdd63
commit
338aab3be9
2 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue