aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ncp-sss.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-ncp-sss.c')
-rw-r--r--epan/dissectors/packet-ncp-sss.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ncp-sss.c b/epan/dissectors/packet-ncp-sss.c
index 46afec012f..d6213ef699 100644
--- a/epan/dissectors/packet-ncp-sss.c
+++ b/epan/dissectors/packet-ncp-sss.c
@@ -31,7 +31,6 @@
#include <epan/strutil.h>
#include "packet-ncp-int.h"
#include "packet-ncp-sss.h"
-#include "isprint.h"
void proto_register_sss(void);
@@ -456,7 +455,7 @@ sss_string(tvbuff_t* tvb, int hfinfo, proto_tree *sss_tree, int offset, gboolean
}
for ( i = 0; i < str_length; i++ ) {
c_char = tvb_get_guint8(tvb, foffset);
- if (isprint(c_char)) {
+ if (g_ascii_isprint(c_char)) {
buffer[i] = c_char;
} else {
if (c_char) {