Wireshark-commits: [Wireshark-commits] rev 37606: /trunk/gtk/ /trunk/gtk/: prefs_dlg.c

Date: Wed, 08 Jun 2011 04:07:24 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=37606

User: guy
Date: 2011/06/07 09:07 PM

Log:
 Try to squelch the warning about not using the return value of strtoul()
 - we really *are* using it just for its side-effects if it fails; its
 return value is not the best way to check for failure, as the failure
 return values are also valid return values on success.
 
 While we're at it, check for it setting errno, which is one of the
 better ways to check for failure.

Directory: /trunk/gtk/
  Changes    Path           Action
  +4 -2      prefs_dlg.c    Modified