2002-09-02 Marcus Brinkmann <marcus@g10code.de>
* debug.c (_gpgme_debug_add): Test *LINE, not LINE. (_gpgme_debug_end): Likewise. Reported by Dr. Stefan Dalibor <Dr.Stefan.Dalibor@bfa.de>.
This commit is contained in:
parent
f0bb43f3da
commit
1b40ede2c5
@ -1,3 +1,9 @@
|
|||||||
|
2002-09-02 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* debug.c (_gpgme_debug_add): Test *LINE, not LINE.
|
||||||
|
(_gpgme_debug_end): Likewise.
|
||||||
|
Reported by Dr. Stefan Dalibor <Dr.Stefan.Dalibor@bfa.de>.
|
||||||
|
|
||||||
2002-09-02 Marcus Brinkmann <marcus@g10code.de>
|
2002-09-02 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* posix-io.c (_gpgme_io_select): Don't use a non-constant struct
|
* posix-io.c (_gpgme_io_select): Don't use a non-constant struct
|
||||||
|
@ -180,7 +180,7 @@ _gpgme_debug_add (void **line, const char *format, ...)
|
|||||||
char *toadd;
|
char *toadd;
|
||||||
char *result;
|
char *result;
|
||||||
|
|
||||||
if (!line)
|
if (!*line)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
va_start (arg_ptr, format);
|
va_start (arg_ptr, format);
|
||||||
@ -198,7 +198,7 @@ _gpgme_debug_add (void **line, const char *format, ...)
|
|||||||
void
|
void
|
||||||
_gpgme_debug_end (void **line)
|
_gpgme_debug_end (void **line)
|
||||||
{
|
{
|
||||||
if (!line)
|
if (!*line)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* The smallest possible level is 1, so force logging here by
|
/* The smallest possible level is 1, so force logging here by
|
||||||
|
Loading…
Reference in New Issue
Block a user