Fix a return value from sync_eventlog_params() (patch from Volker)