Skip to content

Commit 1da9130

Browse files
authored
Merge pull request #80 from mmsaki/example-fix
fix compilation errors from `server.c` example
2 parents 9661b08 + e026e1c commit 1da9130

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

foundation/software.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,8 @@ out the characters that arrive on the connection.
326326
{
327327
struct sockaddr_in sin;
328328
char buf[MAX_LINE];
329-
int buf_len, addr_len;
329+
int buf_len;
330+
socklen_t addr_len;
330331
int s, new_s;
331332
332333
/* build address data structure */

0 commit comments

Comments
 (0)