src/server.c

changeset 97
f87cad9445b4
parent 94
864f59271974
child 98
9cb41383540f
equal deleted inserted replaced
96:5faa21316c85 97:f87cad9445b4
102 printw("Invalid PGN file content at position %ld:\n%s\n", 102 printw("Invalid PGN file content at position %ld:\n%s\n",
103 position, pgn_error_str(result)); 103 position, pgn_error_str(result));
104 return 1; 104 return 1;
105 } 105 }
106 if (!is_game_running(&gamestate)) { 106 if (!is_game_running(&gamestate)) {
107 addstr("Game has ended. Use -S to analyze it.\n"); 107 addstr("Game has ended. Use -s to analyze it locally.\n");
108 return 1; 108 return 1;
109 } 109 }
110 addch('\n'); 110 addch('\n');
111 dump_moveinfo(&gamestate); 111 dump_moveinfo(&gamestate);
112 addch('\n'); 112 addch('\n');

mercurial