Wireshark-bugs: [Wireshark-bugs] [Bug 3051] IO graph - advanced - field doesn't eat trailing spa
Date: Thu, 27 Nov 2008 04:10:47 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3051


Stephen Fisher <stephentfisher@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Windows Vista               |All
           Platform|PC                          |All
            Version|1.0.4                       |SVN




--- Comment #1 from Stephen Fisher <stephentfisher@xxxxxxxxx>  2008-11-27 04:10:46 PDT ---
I started to look at this, but do not have the time to finish working on it at
the moment.  We should probably strip the whitespace in filter_callback()
within gtk/io_stat.c.  The field variable is set to a const because that is the
return value from gtk_entry_get_text(GTK_ENTRY(gio->calc_field)).  However, it
needs to be modified by a function such as GLib's g_strstrip() macro.  Perhaps
copying the result from gtk_entry_get_text() into a new variable and then
stripping the whitespace would be the best way to handle this.


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.