summaryrefslogtreecommitdiff
path: root/ui/gtk/main.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-01-04 14:14:21 -0800
committerGuy Harris <guy@alum.mit.edu>2017-01-04 22:14:53 +0000
commitc1f7cbfcefb3efda898f28530b027b639b98e58e (patch)
tree49a19903084f11ee8fc00ad58be3fdcf54ee70ed /ui/gtk/main.c
parent26430ff647eff817aebdf7425f866f6d7f0f9860 (diff)
downloadwireshark-c1f7cbfcefb3efda898f28530b027b639b98e58e.tar.gz
Clean up indentation.
Change-Id: Ie5a2cc5650840a40fe3a84c04598e1f35dc47f4a Reviewed-on: https://code.wireshark.org/review/19550 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/gtk/main.c')
-rw-r--r--ui/gtk/main.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c
index aa9a96ddc1..ba5e770cb9 100644
--- a/ui/gtk/main.c
+++ b/ui/gtk/main.c
@@ -2406,28 +2406,28 @@ main(int argc, char *argv[])
g_free(err_str);
exit(2);
}
- if (caps->data_link_types == NULL) {
- cmdarg_err("The capture device \"%s\" has no data link types.", device.name);
- exit(2);
- }
+ if (caps->data_link_types == NULL) {
+ cmdarg_err("The capture device \"%s\" has no data link types.", device.name);
+ exit(2);
+ }
#ifdef _WIN32
- create_console();
+ create_console();
#endif /* _WIN32 */
#if defined(HAVE_PCAP_CREATE)
- capture_opts_print_if_capabilities(caps, device.name, device.monitor_mode_supported);
+ capture_opts_print_if_capabilities(caps, device.name, device.monitor_mode_supported);
#else
- capture_opts_print_if_capabilities(caps, device.name, FALSE);
+ capture_opts_print_if_capabilities(caps, device.name, FALSE);
#endif
#ifdef _WIN32
- destroy_console();
+ destroy_console();
#endif /* _WIN32 */
- free_if_capabilities(caps);
+ free_if_capabilities(caps);
}
}
exit(0);
}
- capture_opts_trim_snaplen(&global_capture_opts, MIN_PACKET_SIZE);
- capture_opts_trim_ring_num_files(&global_capture_opts);
+ capture_opts_trim_snaplen(&global_capture_opts, MIN_PACKET_SIZE);
+ capture_opts_trim_ring_num_files(&global_capture_opts);
#endif /* HAVE_LIBPCAP */
/* Notify all registered modules that have had any of their preferences