summaryrefslogtreecommitdiff
path: root/asn1/s1ap
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/s1ap')
-rw-r--r--asn1/s1ap/packet-s1ap-template.c1
-rw-r--r--asn1/s1ap/s1ap.cnf2
2 files changed, 1 insertions, 2 deletions
diff --git a/asn1/s1ap/packet-s1ap-template.c b/asn1/s1ap/packet-s1ap-template.c
index f7d4c49f1c..6f1a603152 100644
--- a/asn1/s1ap/packet-s1ap-template.c
+++ b/asn1/s1ap/packet-s1ap-template.c
@@ -30,7 +30,6 @@
#include <glib.h>
#include <epan/packet.h>
-#include <ctype.h>
#include <epan/strutil.h>
#include <epan/asn1.h>
#include <epan/prefs.h>
diff --git a/asn1/s1ap/s1ap.cnf b/asn1/s1ap/s1ap.cnf
index d8d247a791..ed28c8f32b 100644
--- a/asn1/s1ap/s1ap.cnf
+++ b/asn1/s1ap/s1ap.cnf
@@ -231,7 +231,7 @@ obj_id = NULL;
is_ascii = TRUE;
for (p_offset=0; p_offset < length; p_offset++){
- if(!isalpha(tvb_get_guint8(parameter_tvb, p_offset ))){
+ if(!g_ascii_isprint(tvb_get_guint8(parameter_tvb, p_offset ))){
is_ascii = FALSE;
break;
}