diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-10-05 22:14:57 -0400 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-10-06 02:55:49 +0000 |
commit | 07698d536b72f5267ebe654b0b0cbc394b713ce1 (patch) | |
tree | 1ae72c69e7e2ac830cf3ac3752da6c9fe067ee15 /ui/iface_lists.c | |
parent | 0111e461938d47efd1eb8dc17f135b93b253ab52 (diff) | |
download | wireshark-07698d536b72f5267ebe654b0b0cbc394b713ce1.tar.gz |
Adjust some whitespace to match editor modelines.
Change-Id: Ia22cac3ebd7a454c156f98d967e6fd61f708a2b3
Reviewed-on: https://code.wireshark.org/review/4489
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'ui/iface_lists.c')
-rw-r--r-- | ui/iface_lists.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/ui/iface_lists.c b/ui/iface_lists.c index 1cf3dfeffb..5f0241d44f 100644 --- a/ui/iface_lists.c +++ b/ui/iface_lists.c @@ -160,12 +160,12 @@ scan_local_interfaces(void (*update_cb)(void)) */ if_string = g_strdup_printf("%s", if_info->friendly_name); #else - /* - * On UN*X, if we have a friendly name, show it along - * with the interface name; the interface name is short - * and somewhat friendly, and many UN*X users are used - * to interface names, so we should show it. - */ + /* + * On UN*X, if we have a friendly name, show it along + * with the interface name; the interface name is short + * and somewhat friendly, and many UN*X users are used + * to interface names, so we should show it. + */ if_string = g_strdup_printf("%s: %s", if_info->friendly_name, if_info->name); #endif } else if (if_info->vendor_description != NULL) { @@ -400,24 +400,24 @@ scan_local_interfaces(void (*update_cb)(void)) void fill_in_local_interfaces(void(*update_cb)(void)) { - GTimeVal start_time; - GTimeVal end_time; - float elapsed; - static gboolean initialized = FALSE; + GTimeVal start_time; + GTimeVal end_time; + float elapsed; + static gboolean initialized = FALSE; - /* record the time we started, so we can log total time later */ - g_get_current_time(&start_time); - g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_INFO, "fill_in_local_interfaces() starts"); + /* record the time we started, so we can log total time later */ + g_get_current_time(&start_time); + g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_INFO, "fill_in_local_interfaces() starts"); if (!initialized) { - /* do the actual work */ + /* do the actual work */ scan_local_interfaces(update_cb); initialized = TRUE; } - /* log how long it took */ + /* log how long it took */ g_get_current_time(&end_time); elapsed = (float) ((end_time.tv_sec - start_time.tv_sec) + - ((end_time.tv_usec - start_time.tv_usec) / 1e6)); + ((end_time.tv_usec - start_time.tv_usec) / 1e6)); g_log(LOG_DOMAIN_MAIN, G_LOG_LEVEL_INFO, "fill_in_local_interfaces() ends, taking %.3fs", elapsed); } |