aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-08-05 16:10:44 -0400
committerBill Meier <wmeier@newsguy.com>2014-08-05 20:42:21 +0000
commitf3dd7fe1eb5348922b079db2bdede700d4d28fbd (patch)
tree7382b5da9a3c1de3eba0e91aed54c087fcfea549 /tshark.c
parentdfe331e35e0400942d3ad9e4b5f8c84369546b6d (diff)
Fix whitespace/indentation to match editor modelines.
Change-Id: I3445ae22f10584582d465bf632942e016f5f70ca Reviewed-on: https://code.wireshark.org/review/3452 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/tshark.c b/tshark.c
index 8e142b4631..d2bd31f288 100644
--- a/tshark.c
+++ b/tshark.c
@@ -52,7 +52,7 @@
#endif
#ifdef HAVE_LIBZ
-#include <zlib.h> /* to get the libz version number */
+#include <zlib.h> /* to get the libz version number */
#endif
#ifdef HAVE_LIBCAP
@@ -394,11 +394,11 @@ print_usage(FILE *output)
fprintf(output, " default report=\"fields\"\n");
fprintf(output, " use \"-G ?\" for more help\n");
#ifdef __linux__
- fprintf(output, "\n");
- fprintf(output, "WARNING: dumpcap will enable kernel BPF JIT compiler if available.\n");
- fprintf(output, "You might want to reset it\n");
- fprintf(output, "By doing \"echo 0 > /proc/sys/net/core/bpf_jit_enable\"\n");
- fprintf(output, "\n");
+ fprintf(output, "\n");
+ fprintf(output, "WARNING: dumpcap will enable kernel BPF JIT compiler if available.\n");
+ fprintf(output, "You might want to reset it\n");
+ fprintf(output, "By doing \"echo 0 > /proc/sys/net/core/bpf_jit_enable\"\n");
+ fprintf(output, "\n");
#endif
}
@@ -915,20 +915,20 @@ show_version(GString *comp_info_str, GString *runtime_info_str)
static void
get_tshark_compiled_version_info(GString *str)
{
- /* Capture libraries */
- get_compiled_caplibs_version(str);
+ /* Capture libraries */
+ get_compiled_caplibs_version(str);
- /* LIBZ */
- g_string_append(str, ", ");
+ /* LIBZ */
+ g_string_append(str, ", ");
#ifdef HAVE_LIBZ
- g_string_append(str, "with libz ");
+ g_string_append(str, "with libz ");
#ifdef ZLIB_VERSION
- g_string_append(str, ZLIB_VERSION);
+ g_string_append(str, ZLIB_VERSION);
#else /* ZLIB_VERSION */
- g_string_append(str, "(version unknown)");
+ g_string_append(str, "(version unknown)");
#endif /* ZLIB_VERSION */
#else /* HAVE_LIBZ */
- g_string_append(str, "without libz");
+ g_string_append(str, "without libz");
#endif /* HAVE_LIBZ */
}