forked from osmocom/wireshark
use strcasecmp instead of g_ascii_strcasecmp
svn path=/trunk/; revision=23372
This commit is contained in:
parent
6785ffd796
commit
8da1f94cca
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue