diff --git a/xwords4/relay/Makefile b/xwords4/relay/Makefile index b30821e05..7d4e94827 100644 --- a/xwords4/relay/Makefile +++ b/xwords4/relay/Makefile @@ -55,7 +55,7 @@ xwrelay: $(OBJ) rq: rq.c clean: - rm -f xwrelay $(OBJ) + rm -f xwrelay $(OBJ) rq tags: etags *.cpp *.h diff --git a/xwords4/relay/rq.c b/xwords4/relay/rq.c index 3c46b8f9b..201de62c1 100644 --- a/xwords4/relay/rq.c +++ b/xwords4/relay/rq.c @@ -70,7 +70,7 @@ do_rooms( int sockfd, int lang, int nPlayers ) write( sockfd, &len, sizeof(len) ); write( sockfd, msg, sizeof(msg) ); - fprintf( stderr, "Waiting for response...." ); + fprintf( stderr, "Waiting for response....\n" ); ssize_t nRead = recv( sockfd, &len, sizeof(len), MSG_WAITALL ); assert( nRead == sizeof(len) ); @@ -89,7 +89,7 @@ do_rooms( int sockfd, int lang, int nPlayers ) char* saveptr; for ( ii = 0; ii < nRooms; ++ii ) { char* str = strtok_r( ptr, "\n", &saveptr ); - fprintf( stdout, "%s", str ); + fprintf( stdout, "%s\n", str ); ptr = NULL; } }