aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-12-31 21:45:51 -0800
committerGuy Harris <guy@alum.mit.edu>2017-01-01 05:46:37 +0000
commit4e5408cda9fa3d0a0d23fd6d94fafa9c1e07cd86 (patch)
tree701df7c7ad0aa2a1b4bf16b2334374d7784c10d7 /epan
parenta6ce00feb3b233ed20b2b14f1238114a249f666a (diff)
Fix backwards #if defined.
Left over from some stuff I was fiddling with. Bug: 11785 Change-Id: Ifb06e8b65db65037b336c46e5e180012ae5b7a59 Reviewed-on: https://code.wireshark.org/review/19487 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan')
-rw-r--r--epan/to_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/to_str.c b/epan/to_str.c
index 5ebb969a5f..94d6eb0c13 100644
--- a/epan/to_str.c
+++ b/epan/to_str.c
@@ -428,7 +428,7 @@ get_zonename(struct tm *tmp)
if ((tmp->tm_isdst != 0) && (tmp->tm_isdst != 1)) {
return "???";
}
-# if !defined(HAVE_TZNAME)
+# if defined(HAVE_TZNAME)
return tzname[tmp->tm_isdst];
# else
return tmp->tm_isdst ? "?DT" : "?ST";