Use glib's isdigit function.

svn path=/trunk/; revision=47565
This commit is contained in:
Evan Huus 2013-02-08 14:03:33 +00:00
parent faf307e2fc
commit fc48d80b32
1 changed files with 1 additions and 1 deletions

View File

@ -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++;
}