diff options
Diffstat (limited to 'epan/dissectors/packet-aim.c')
-rw-r--r-- | epan/dissectors/packet-aim.c | 6 |
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; |