use strcasecmp instead of g_ascii_strcasecmp

svn path=/trunk/; revision=23372
This commit is contained in:
Ronnie Sahlberg 2007-11-06 05:39:28 +00:00
parent 6785ffd796
commit 8da1f94cca
1 changed files with 3 additions and 3 deletions

View File

@ -653,13 +653,13 @@ vnc_startup_messages(tvbuff_t *tvb, packet_info *pinfo, gint offset,
ti = proto_tree_add_string(tree, hf_vnc_vendor_code, tvb,
offset, 4, vendor);
if(g_ascii_strcasecmp(vendor, "STDV") == 0)
if(strcasecmp(vendor, "STDV") == 0)
proto_item_append_text(ti, " (Standard VNC vendor)");
else if(g_ascii_strcasecmp(vendor, "TRDV") == 0)
else if(strcasecmp(vendor, "TRDV") == 0)
proto_item_append_text(ti, " (Tridia VNC vendor)");
else if(g_ascii_strcasecmp(vendor, "TGHT") == 0)
else if(strcasecmp(vendor, "TGHT") == 0)
proto_item_append_text(ti, " (Tight VNC vendor)");
offset += 4;