Wireshark-commits: [Wireshark-commits] rev 42089: /trunk/ui/gtk/ /trunk/ui/gtk/: capture_dlg.c main

Date: Sun, 15 Apr 2012 23:03:58 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=42089

User: guy
Date: 2012/04/15 04:03 PM

Log:
 Get rid of the error code argument to scan_local_interfaces(); nobody
 uses it once it's filled in.
 
 From Evan Huus: in scan_local_interfaces(), pass NULL to
 capture_interface_list(), as we don't use the error string (and don't
 free it, either).
 
 In fill_capture_box(), for CANT_GET_INTERFACE_LIST, include the error
 string in the report, and free it, in all cases, when we're done with
 it.

Directory: /trunk/ui/gtk/
  Changes    Path              Action
  +1 -3      capture_dlg.c     Modified
  +5 -7      main.c            Modified
  +3 -2      main.h            Modified
  +10 -10    main_welcome.c    Modified