Make sure the data in the list is valid. (Ran into an odd segv here,

so added this catch to trap it).



SVN revision: 49248
This commit is contained in:
Christopher Michael 2010-05-28 16:20:31 +00:00
parent b7962efbbc
commit fa790a1557
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ e_syscon_show(E_Zone *zone, const char *defact)
E_Action *a;
int disabled;
sca = l->data;
if (!(sca = l->data)) continue;
if (!sca->action) continue;
a = e_action_find(sca->action);
if (!a) continue;