Skip to content

Commit

Permalink
Use fd_set, not struct fd_set: the former is standard.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmathewson committed Feb 20, 2009
1 parent 1206ff4 commit 3eda0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples_01/01_rot13_server_select.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ run(void)
struct fd_state *state[FD_SETSIZE];
struct sockaddr_in sin;
int i, n, maxfd;
struct fd_set readset, writeset, exset;
fd_set readset, writeset, exset;

sin.sin_family = AF_INET;
sin.sin_addr.s_addr = 0;
Expand Down

0 comments on commit 3eda0d7

Please sign in to comment.