Don't try to printf e->exe->cmd if e->exe doesn't exist

SVN revision: 19467
This commit is contained in:
Christopher Michael 2006-01-01 04:02:52 +00:00
parent 7e670e0c2a
commit 60cb25623b
1 changed files with 3 additions and 3 deletions

View File

@ -208,12 +208,12 @@ _ecore_signal_call(void)
* check to see for Last Words, and only delay if there are any.
* This has it's own set of problems.
*/
printf("Delaying exit event for %s.\n", e->exe->cmd);
printf("Delaying exit event for %s.\n", e->exe->cmd);
ecore_timer_add(0.1, _ecore_signal_exe_exit_delay, e);
}
else
{
printf("Sending exit event for %s.\n", e->exe->cmd);
{
if (e->exe) printf("Sending exit event for %s.\n", e->exe->cmd);
_ecore_event_add(ECORE_EVENT_EXE_EXIT, e,
_ecore_event_exe_exit_free, NULL);
}