Fixed synxtax error assembling a list for accept()