init: make it NOMMU-capable

httpd: trivial compile fix
This commit is contained in:
Denis Vlasenko
2008-02-19 14:13:20 +00:00
parent a58a637bed
commit 671ca33aa1
3 changed files with 104 additions and 35 deletions

View File

@ -2192,7 +2192,7 @@ static void mini_httpd_nommu(int server_socket, int argc, char **argv)
/* Wait for connections... */
fromAddr.len = LSA_SIZEOF_SA;
n = accept(server_socket, &fromAddr.sa, &fromAddr.len);
n = accept(server_socket, &fromAddr.u.sa, &fromAddr.len);
if (n < 0)
continue;