diff options
author | obiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-11-01 18:18:46 +0000 |
---|---|---|
committer | obiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-11-01 18:18:46 +0000 |
commit | a1237db0e6c7ef1a3246b40bdcfee5e7c76e5a6a (patch) | |
tree | 10252526f8df8ae10a8e4071a1576ffa6a7a7350 /epan/dissectors/packet-image-gif.c | |
parent | 439c28b4e1a66ca1c4413bd6a2bcb674cadf1c0b (diff) |
Use g_print() instead of fprintf() to write messages to the debug console.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16373 f5534014-38df-0310-8fa8-9805f1628bb7
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 |