aboutsummaryrefslogtreecommitdiffstats
path: root/src/debug.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2010-01-05 04:09:05 +0000
committerMarcus Brinkmann <[email protected]>2010-01-05 04:09:05 +0000
commit28f8339ed1e0a21719dd972cec274732a2d35a91 (patch)
tree25be8e20369a526cb524edb9be87e5be04ba61b2 /src/debug.c
parentAdd comments. (diff)
downloadlibassuan-28f8339ed1e0a21719dd972cec274732a2d35a91.tar.gz
libassuan-28f8339ed1e0a21719dd972cec274732a2d35a91.zip
2010-01-05 Marcus Brinkmann <[email protected]>
* debug.h (TRACE_LOG5): Add macro. * debug.c (_assuan_debug_buffer): Add newline * system.c: Add more debug output (conditioned on the compile-time DEBUG_SYSIO macro).
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c
index 37d15cb..0bdbfb5 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -173,8 +173,9 @@ _assuan_debug_buffer (assuan_context_t ctx, unsigned int cat,
*(strp++) = ' ';
}
*(strp++) = ' ';
+ *(strp2++) = '\n';
*(strp2) = '\0';
-
+
_assuan_debug (ctx, cat, fmt, func, tagname, tag, str);
}
}