summaryrefslogtreecommitdiff
path: root/networking/httpd.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-02-19 14:13:20 +0000
committerDenis Vlasenko2008-02-19 14:13:20 +0000
commit671ca33aa1804c1c4e26bf83635206dce7ed2623 (patch)
tree4bf32b2810361b905bb7e8e1796b1cc22da0eb81 /networking/httpd.c
parenta58a637bed06f6d794fcf822d08df926812ccd23 (diff)
downloadbusybox-671ca33aa1804c1c4e26bf83635206dce7ed2623.zip
busybox-671ca33aa1804c1c4e26bf83635206dce7ed2623.tar.gz
init: make it NOMMU-capable
httpd: trivial compile fix
Diffstat (limited to 'networking/httpd.c')
-rw-r--r--networking/httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index 2c580b0..bcd1126 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -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;