aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-slsk.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-04-01 01:32:56 +0100
committerAnders Broman <a.broman58@gmail.com>2016-04-04 06:58:41 +0000
commit6f98a0fac33db70b3ceb71d939b0a9d0d47747cc (patch)
treef4769e5888fca9bd30cde35aabad4542849e9c4f /epan/dissectors/packet-slsk.c
parente005bc819c201c49cf330a2607ad0770f145904e (diff)
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-slsk.c')
-rw-r--r--epan/dissectors/packet-slsk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-slsk.c b/epan/dissectors/packet-slsk.c
index 583fc57c54..0ccba62fb6 100644
--- a/epan/dissectors/packet-slsk.c
+++ b/epan/dissectors/packet-slsk.c
@@ -121,7 +121,7 @@ static expert_field ei_slsk_zlib_decompression_failed = EI_INIT;
/* desegmentation of SoulSeek Message over TCP */
static gboolean slsk_desegment = TRUE;
-#ifdef HAVE_LIBZ
+#ifdef HAVE_ZLIB
static gboolean slsk_decompress = TRUE;
#else
static gboolean slsk_decompress = FALSE;
@@ -2616,7 +2616,7 @@ proto_register_slsk(void)
"Whether the SoulSeek dissector should reassemble messages spanning multiple TCP segments."
" To use this option, you must also enable \"Allow subdissectors to reassemble TCP streams\" in the TCP protocol settings.",
&slsk_desegment);
-#ifdef HAVE_LIBZ
+#ifdef HAVE_ZLIB
prefs_register_bool_preference(slsk_module, "decompress",
"Decompress zlib compressed packets inside SoulSeek messages",
"Whether the SoulSeek dissector should decompress all zlib compressed packets inside messages",