diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-11-06 05:39:28 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-11-06 05:39:28 +0000 |
commit | 8da1f94ccad522378ee75ebe25f0b9af16cb26d1 (patch) | |
tree | e8ac2a986475ae79610e87b793068e46341de48d /epan | |
parent | 6785ffd7965535af8f69ad2b1eea985186190795 (diff) |
use strcasecmp instead of g_ascii_strcasecmp
svn path=/trunk/; revision=23372
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-vnc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-vnc.c b/epan/dissectors/packet-vnc.c index 421a958831..0440eeccf8 100644 --- a/epan/dissectors/packet-vnc.c +++ b/epan/dissectors/packet-vnc.c @@ -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; |