(ITS#5413) typo in syncrepl.c causes SEGV