diff options
author | Werner Koch <[email protected]> | 2018-11-16 17:17:22 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-11-16 17:17:22 +0000 |
commit | 7a1e7006d06fdbab86ea79a197c316744b09d933 (patch) | |
tree | 13e878cc63d2c9116f58307b38ea8c49ccba7097 /src/posix-io.c | |
parent | core: Fix a LF problem in the new debug fucntion. (diff) | |
download | gpgme-7a1e7006d06fdbab86ea79a197c316744b09d933.tar.gz gpgme-7a1e7006d06fdbab86ea79a197c316744b09d933.zip |
core: Protect the trace macros for fun and profit.
* src/debug.h: Protect macros using.
(_trace_err, _trace_sysres, _trace_syserr): New helper inline
functions.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/posix-io.c')
-rw-r--r-- | src/posix-io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/posix-io.c b/src/posix-io.c index 77ecde05..be084312 100644 --- a/src/posix-io.c +++ b/src/posix-io.c @@ -166,7 +166,8 @@ _gpgme_io_pipe (int filedes[2], int inherit_idx) if (err) return TRACE_SYSRES (err); - return TRACE_SUC ("read=0x%x, write=0x%x", filedes[0], filedes[1]); + TRACE_SUC ("read=0x%x, write=0x%x", filedes[0], filedes[1]); + return 0; } |