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-smpp.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-smpp.c')
-rw-r--r-- | epan/dissectors/packet-smpp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-smpp.c b/epan/dissectors/packet-smpp.c index c1fbc68119..ad8676f157 100644 --- a/epan/dissectors/packet-smpp.c +++ b/epan/dissectors/packet-smpp.c @@ -62,9 +62,8 @@ */ #ifdef DEBUG_smpp #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 |