diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-04-01 01:32:56 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-04-04 06:58:41 +0000 |
commit | 6f98a0fac33db70b3ceb71d939b0a9d0d47747cc (patch) | |
tree | f4769e5888fca9bd30cde35aabad4542849e9c4f /epan/dissectors/packet-vnc.c | |
parent | e005bc819c201c49cf330a2607ad0770f145904e (diff) | |
download | wireshark-6f98a0fac33db70b3ceb71d939b0a9d0d47747cc.tar.gz |
Rename "libz" to "zlib"
Change-Id: I12f92c983d587c2a4751428cdf299635090c9f0b
Reviewed-on: https://code.wireshark.org/review/14748
Reviewed-by: João Valverde <j@v6e.pt>
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-vnc.c')
-rw-r--r-- | epan/dissectors/packet-vnc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-vnc.c b/epan/dissectors/packet-vnc.c index 73e0b91c98..a5c8480b58 100644 --- a/epan/dissectors/packet-vnc.c +++ b/epan/dissectors/packet-vnc.c @@ -2938,7 +2938,7 @@ vnc_h264_encoding(tvbuff_t *tvb, gint *offset, proto_tree *tree) return 0; /* bytes_needed */ } -#ifdef HAVE_LIBZ +#ifdef HAVE_ZLIB static guint vnc_zrle_encoding(tvbuff_t *tvb, packet_info *pinfo, gint *offset, proto_tree *tree, const guint16 width, const guint16 height) @@ -2949,7 +2949,7 @@ vnc_zrle_encoding(tvbuff_t *tvb, packet_info *pinfo _U_, gint *offset, #endif { guint32 data_len; -#ifdef HAVE_LIBZ +#ifdef HAVE_ZLIB guint8 palette_size; guint8 bytes_per_cpixel = vnc_get_bytes_per_pixel(pinfo); gint uncomp_offset = 0; @@ -2972,7 +2972,7 @@ vnc_zrle_encoding(tvbuff_t *tvb, packet_info *pinfo _U_, gint *offset, proto_tree_add_item(tree, hf_vnc_zrle_data, tvb, *offset, data_len, ENC_NA); -#ifdef HAVE_LIBZ +#ifdef HAVE_ZLIB uncomp_tvb = tvb_child_uncompress(tvb, tvb, *offset, data_len); if(uncomp_tvb != NULL) { @@ -3020,7 +3020,7 @@ vnc_zrle_encoding(tvbuff_t *tvb, packet_info *pinfo _U_, gint *offset, } else { proto_tree_add_expert(tree, pinfo, &ei_vnc_zrle_failed, tvb, *offset, data_len); } -#endif /* HAVE_LIBZ */ +#endif /* HAVE_ZLIB */ *offset += data_len; |