1.1 --- a/src/server.c Wed Aug 29 13:45:13 2018 +0200 1.2 +++ b/src/server.c Wed Aug 29 13:55:18 2018 +0200 1.3 @@ -69,7 +69,7 @@ 1.4 GameState continuegame; 1.5 gamestate_init(&continuegame); 1.6 if (settings->continuepgn) { 1.7 - // preload PGN data before handshake 1.8 + /* preload PGN data before handshake */ 1.9 FILE *pgnfile = fopen(settings->continuepgn, "r"); 1.10 if (pgnfile) { 1.11 int result = read_pgn(pgnfile, &continuegame, 1.12 @@ -106,7 +106,7 @@ 1.13 1.14 int fd = server.client->fd; 1.15 if (settings->continuepgn) { 1.16 - // Continue game, send PGN data 1.17 + /* Continue game, send PGN data */ 1.18 uint16_t mc = 0; 1.19 MoveList *movelist = continuegame.movelist; 1.20 while (movelist) { 1.21 @@ -133,7 +133,7 @@ 1.22 net_send_data(fd, NETCODE_PGNDATA, pgndata, pgndata_size); 1.23 free(pgndata); 1.24 } else { 1.25 - // Start new game 1.26 + /* Start new game */ 1.27 net_send_data(fd, NETCODE_GAMEINFO, 1.28 &(settings->gameinfo), sizeof(GameInfo)); 1.29 }