summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 594805e..62c3ce1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -48,7 +48,7 @@ int main(int argc, char **argv)
server_start_game(csocks, opponents, &players);
// cleanup
- for(int i=0; i<players->count; i++)
+ for(int i=0; i<players.count; i++)
free(players.names[i]);
close(ssock);
free(csocks);