From Richard Brodie via bug 4606:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 17 Apr 2010 10:22:38 +0000 (10:22 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 17 Apr 2010 10:22:38 +0000 (10:22 +0000)
Display runtime version for libz, as well as build version.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32502 f5534014-38df-0310-8fa8-9805f1628bb7

version_info.c

index 065cbd2eae78f8c7a8cc5372132b90581c63246c..a403907ee88ec24a742c4218f62efa5b9fe3ba80 100644 (file)
@@ -531,6 +531,11 @@ get_runtime_version_info(GString *str, void (*additional_info)(GString *))
        g_string_append(str, ", ");
        get_runtime_pcap_version(str);
 
+        /* zlib */
+#ifdef HAVE_LIBZ
+        g_string_append_printf(str, ", with libz %s", zlibVersion());
+#endif
+
     /* GnuTLS */
 #ifdef HAVE_LIBGNUTLS
        g_string_append_printf(str, ", GnuTLS %s", gnutls_check_version(NULL));