diff options
author | Olivier Biot <obiot.ethereal@gmail.com> | 2005-11-01 18:18:46 +0000 |
---|---|---|
committer | Olivier Biot <obiot.ethereal@gmail.com> | 2005-11-01 18:18:46 +0000 |
commit | e9318816265246ef13455d4d25ec144e583bb2ad (patch) | |
tree | 10252526f8df8ae10a8e4071a1576ffa6a7a7350 /epan/dissectors/packet-image-gif.c | |
parent | f100a332165a49e6f086f60130a8bb6c427024ce (diff) |
Use g_print() instead of fprintf() to write messages to the debug console.
svn path=/trunk/; revision=16373
Diffstat (limited to 'epan/dissectors/packet-image-gif.c')
-rw-r--r-- | epan/dissectors/packet-image-gif.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-image-gif.c b/epan/dissectors/packet-image-gif.c index 6051e7e005..62bba8803f 100644 --- a/epan/dissectors/packet-image-gif.c +++ b/epan/dissectors/packet-image-gif.c @@ -55,9 +55,8 @@ */ #if (defined(DEBUG_image_gif) || defined(DEBUG_image)) #define DebugLog(x) \ - printf("%s:%u: ", __FILE__, __LINE__); \ - printf x; \ - fflush(stdout) + g_print("%s:%u: ", __FILE__, __LINE__); \ + g_print x #else #define DebugLog(x) ; #endif |