Fix broken return value.

Fix for update_event function in async_events.c