Wireshark mailing list archives

Re: [Wireshark-commits] rev 47188: /trunk/ui/gtk/ /trunk/ui/gtk/: main.c


From: Dirk Jagdmann <doj () cubic org>
Date: Mon, 21 Jan 2013 09:27:57 -0800

the logical and is the very same in both revisions. But what makes this code
confusing is the use of "prefs.capture_device" in one place and then
"prefs_p->capture_device" in another. Maybe what you really want is

if ((global_capture_opts.num_selected == 0) &&
    (prefs.capture_device != NULL) &&
    (prefs.capture_device[0] != '\0')) {

-- 
---> Dirk Jagdmann
----> http://cubic.org/~doj
-----> http://llg.cubic.org
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: