Wireshark-commits: [Wireshark-commits] rev 37910: /trunk/gtk/ /trunk/gtk/: summary_dlg.c
Date: Wed, 06 Jul 2011 04:09:57 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=37910

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

Log:
 Don't check for "(null)" as the result of a printf operation; don't pass
 in a null pointer to %s in the first place!  Not all printf
 implementations necessarily emit "(null)" in that case; perhaps GLib's
 does, but we shouldn't even depend on that - we should, instead, at
 least print something semi-useful in that case (the link-layer type's
 numerical value).
 
 Fix syntax errors in the "no libpcap" case.

Directory: /trunk/gtk/
  Changes    Path             Action
  +10 -6     summary_dlg.c    Modified