Commit | Line | Data |
---|---|---|
73e0c9c1 FF |
1 | diff -u -r ../cboard-0.7.3/libchess/pgn.c ./libchess/pgn.c |
2 | --- ../cboard-0.7.3/libchess/pgn.c 2015-01-14 21:18:45.000000000 -0500 | |
3 | +++ ./libchess/pgn.c 2015-07-11 06:55:57.087877710 -0400 | |
4 | @@ -813,7 +813,6 @@ | |
5 | time_t now; | |
6 | char tbuf[11] = {0}; | |
7 | struct tm *tp; | |
8 | - struct passwd *pw = getpwuid(getuid()); | |
9 | char host[64] = { 0 }; | |
10 | ||
11 | time(&now); | |
12 | @@ -834,7 +833,7 @@ | |
13 | if (pgn_tag_add(&g->tag, "Round", "-") != E_PGN_OK) | |
14 | warn("pgn_tag_add()"); | |
15 | ||
16 | - if (pgn_tag_add(&g->tag, "White", pw->pw_gecos) != E_PGN_OK) | |
17 | + if (pgn_tag_add(&g->tag, "White", "You") != E_PGN_OK) | |
18 | warn("pgn_tag_add()"); | |
19 | ||
20 | if (pgn_tag_add(&g->tag, "Black", "?") != E_PGN_OK) |