diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 1aec903b..e0e841e4 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,11 @@ +2003-01-19 Miguel Coca + + * w32-io.c (_gpgme_io_select): Add missing argument in calls to + DEBUG_BEGIN. + * w32-util.c: Include "sema.h". + (find_program_in_registry): Change DEBUG1 to DEBUG2, fixes compilation + error. + 2003-01-19 Marcus Brinkmann * rungpg.c (_gpgme_engine_ops_gpg): Remove gpg_start. diff --git a/gpgme/w32-io.c b/gpgme/w32-io.c index 91dfe87b..9170e367 100644 --- a/gpgme/w32-io.c +++ b/gpgme/w32-io.c @@ -992,7 +992,7 @@ _gpgme_io_select ( struct io_select_fd_s *fds, size_t nfds, int nonblock ) void *dbg_help; restart: - DEBUG_BEGIN (dbg_help, "select on [ "); + DEBUG_BEGIN (dbg_help, 3, "select on [ "); any = 0; nwait = 0; count = 0; @@ -1103,7 +1103,7 @@ _gpgme_io_select ( struct io_select_fd_s *fds, size_t nfds, int nonblock ) } if ( count ) { - DEBUG_BEGIN (dbg_help, " signaled [ "); + DEBUG_BEGIN (dbg_help, 3, " signaled [ "); for ( i=0; i < nfds; i++ ) { if ( fds[i].fd == -1 ) continue; diff --git a/gpgme/w32-util.c b/gpgme/w32-util.c index bdd5eaf1..674fb7dd 100644 --- a/gpgme/w32-util.c +++ b/gpgme/w32-util.c @@ -36,6 +36,7 @@ #include #include "util.h" +#include "sema.h" DEFINE_STATIC_LOCK (get_path_lock); @@ -100,7 +101,7 @@ find_program_in_registry (const char *name) { int i; - DEBUG1 ("found %s in registry: `%s'", name, program); + DEBUG2 ("found %s in registry: `%s'", name, program); for (i = 0; program[i]; i++) { if (program[i] == '/')