diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-11-20 01:15:00 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-11-20 01:15:00 +0000 |
commit | 85b5a71c7362500366491f9f67e173097daa020a (patch) | |
tree | 83f169b22b27d24b4dd42da055f4c2da53c2dd32 /ui/gtk/capture_if_details_dlg_win32.c | |
parent | fbaac1330a3dc89be82d7682d8799113cbfb2223 (diff) |
Clean up white space.
Clarify that the other "friendly name" is NDIS's idea of a "friendly
name".
svn path=/trunk/; revision=46096
Diffstat (limited to 'ui/gtk/capture_if_details_dlg_win32.c')
-rw-r--r-- | ui/gtk/capture_if_details_dlg_win32.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/gtk/capture_if_details_dlg_win32.c b/ui/gtk/capture_if_details_dlg_win32.c index da57975aca..f3886115fb 100644 --- a/ui/gtk/capture_if_details_dlg_win32.c +++ b/ui/gtk/capture_if_details_dlg_win32.c @@ -1806,7 +1806,7 @@ capture_if_details_general(GtkWidget *table, GtkWidget *main_vb, guint *row, LPA g_free(interface_friendlyname); } - /* Vendor description */ + /* Vendor description */ length = sizeof(values); if (wpcap_packet_request(adapter, OID_GEN_VENDOR_DESCRIPTION, FALSE /* !set */, values, &length)) { g_snprintf(string_buff, DETAILS_STR_MAX, "%s", values); @@ -1816,7 +1816,7 @@ capture_if_details_general(GtkWidget *table, GtkWidget *main_vb, guint *row, LPA } add_string_to_table(table, row, "Vendor description", string_buff); - /* Friendly name */ + /* NDIS's "Friendly name" */ length = sizeof(wvalues); if (wpcap_packet_request(adapter, OID_GEN_FRIENDLY_NAME, FALSE /* !set */, (char *)wvalues, &length)) { utf8value = g_utf16_to_utf8(wvalues, -1, NULL, NULL, NULL); @@ -1855,8 +1855,6 @@ capture_if_details_general(GtkWidget *table, GtkWidget *main_vb, guint *row, LPA } add_string_to_table(table, row, "Link speed", string_buff); - - uint_array_size = sizeof(uint_array); if (wpcap_packet_request(adapter, OID_GEN_MEDIA_SUPPORTED, FALSE /* !set */, (char *) uint_array, &uint_array_size)) { entries++; |