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

Fix regressions on POSIX

-This line, and those below, will be ignored--

M    dirmngr/dirmngr_ldap.c
M    dirmngr/ChangeLog
This commit is contained in:
Werner Koch 2010-08-03 14:06:42 +00:00
parent 819f3be358
commit 459fc7faf6
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2010-08-03 Werner Koch <wk@g10code.com>
* dirmngr_ldap.c (pth_enter, pth_leave) [USE_LDAPWRAPPER]: Turn
into functions for use in a 'for' control stmt.
2010-07-26 Werner Koch <wk@g10code.com>
* dirmngr_ldap.c (print_ldap_entries): Remove special fwrite case

View File

@ -63,8 +63,8 @@
ldap wrapper process we need to include the prototype for our
module's main function. */
#ifdef USE_LDAPWRAPPER
# define pth_enter() do { } while (0)
# define pth_leave() do { } while (0)
static void pth_enter (void) { }
static void pth_leave (void) { }
#else
# include "./ldap-wrapper.h"
#endif
@ -153,7 +153,7 @@ static int process_url (my_opt_t myopt, const char *url);
/* Function called by argparse.c to display information. */
#ifndef USE_LDAPWRAPPER
#ifdef USE_LDAPWRAPPER
static const char *
my_strusage (int level)
{