[PATCH 05/11] serv.c: move check for NULL barptr into addtoportlist()