aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-aim.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-21 15:01:45 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-21 15:01:45 +0000
commit746ee39329954d5bca8d62736844bc17b1d0516c (patch)
tree68d5e307aceec48b0813e29f32314c41673c56fb /epan/dissectors/packet-aim.c
parentbe733f30414ceb85304396d30b9648b6afe283e5 (diff)
Drop isprint.h use g_ascii_isprint() when this include hack was enabled.
svn path=/trunk/; revision=54327
Diffstat (limited to 'epan/dissectors/packet-aim.c')
-rw-r--r--epan/dissectors/packet-aim.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-aim.c b/epan/dissectors/packet-aim.c
index 5eed6a3739..7fb091ae22 100644
--- a/epan/dissectors/packet-aim.c
+++ b/epan/dissectors/packet-aim.c
@@ -32,8 +32,6 @@
#include <glib.h>
-#include "isprint.h"
-
#include <epan/packet.h>
#include <epan/strutil.h>
@@ -576,9 +574,9 @@ aim_get_message( guchar *msg, tvbuff_t *tvb, int msg_offset, int msg_length)
#ifdef STRIP_TAGS
if( j == '<' ) bracket = TRUE;
if( j == '>' ) bracket = FALSE;
- if( (isprint(j) ) && (bracket == FALSE) && (j != '>'))
+ if( (g_ascii_isprint(j) ) && (bracket == FALSE) && (j != '>'))
#else
- if( isprint(j) )
+ if( g_ascii_isprint(j) )
#endif
{
msg[i] = j;