aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-image-jfif.c
diff options
context:
space:
mode:
authorobiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7>2005-11-01 18:18:46 +0000
committerobiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7>2005-11-01 18:18:46 +0000
commita1237db0e6c7ef1a3246b40bdcfee5e7c76e5a6a (patch)
tree10252526f8df8ae10a8e4071a1576ffa6a7a7350 /epan/dissectors/packet-image-jfif.c
parent439c28b4e1a66ca1c4413bd6a2bcb674cadf1c0b (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-jfif.c')
-rw-r--r--epan/dissectors/packet-image-jfif.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-image-jfif.c b/epan/dissectors/packet-image-jfif.c
index b169a177fd..ffee2f6012 100644
--- a/epan/dissectors/packet-image-jfif.c
+++ b/epan/dissectors/packet-image-jfif.c
@@ -58,9 +58,8 @@
*/
#if (defined(DEBUG_image_jfif) || 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