aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-02-08 14:03:33 +0000
committerEvan Huus <eapache@gmail.com>2013-02-08 14:03:33 +0000
commitfc48d80b3233018ecf5968d29ec9729976346b03 (patch)
treec0d1a26a47885fb5d2fb5f50afca1f4705192d4d
parentfaf307e2fcb99d2f3544def1ae2c4f056c9d1717 (diff)
Use glib's isdigit function.
svn path=/trunk/; revision=47565
-rw-r--r--epan/dissectors/packet-sdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sdp.c b/epan/dissectors/packet-sdp.c
index b32a500807..d563f199e4 100644
--- a/epan/dissectors/packet-sdp.c
+++ b/epan/dissectors/packet-sdp.c
@@ -1211,7 +1211,7 @@ static void dissect_sdp_media_attribute(tvbuff_t *tvb, packet_info *pinfo, proto
next_offset = next_offset + 1;
offset = next_offset;
while (length-1 >= next_offset) {
- if (!isdigit(tvb_get_guint8(tvb, next_offset)))
+ if (!g_ascii_isdigit(tvb_get_guint8(tvb, next_offset)))
break;
next_offset++;
}