From: Marcus Brinkmann Date: Sun, 19 Jan 2003 22:05:40 +0000 (+0000) Subject: 2003-01-19 Miguel Coca X-Git-Tag: gpgme-0-4-1~120 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c44f5e0a3c7bdf34a3abe62eff4444fab0817bef;p=gpgme.git 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. --- diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 1aec903..e0e841e 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 91dfe87..9170e36 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 bdd5eaf..674fb7d 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] == '/')