top: fix segfault for $if_running
authorPhil Sutter <phil@nwl.cc>
Thu, 12 Nov 2009 20:32:59 +0000 (21:32 +0100)
committerPhil Sutter <phil@nwl.cc>
Thu, 12 Nov 2009 23:02:16 +0000 (00:02 +0100)
commite787870eb438bd875ceb408d84aca0444396e132
treeace70c0987b29f94f7a4ca0e086c431cbf5a56d6
parente26c9977f21ff960a40a2c1f5863d653f03ce09c
top: fix segfault for $if_running

The "name" field may be zero, which makes strcmp() freak out.
src/top.c