Improved conditionals in robotLink.c and server.c