summaryrefslogtreecommitdiff
path: root/nuttx/netutils/webserver/httpd-cgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/netutils/webserver/httpd-cgi.c')
-rw-r--r--nuttx/netutils/webserver/httpd-cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/netutils/webserver/httpd-cgi.c b/nuttx/netutils/webserver/httpd-cgi.c
index e93aff1be..ab39711c8 100644
--- a/nuttx/netutils/webserver/httpd-cgi.c
+++ b/nuttx/netutils/webserver/httpd-cgi.c
@@ -136,7 +136,7 @@ static void tcp_stats(struct httpd_state *pstate, char *ptr)
struct httpd_state *pstate = (struct httpd_state *)arg;
char buffer[256];
- for(pstate->count = 0; pstate->count < UIP_CONNS; ++pstate->count)
+ for(pstate->count = 0; pstate->count < CONFIG_NET_TCP_CONNS; ++pstate->count)
{
conn = &uip_conns[pstate->count];
if((conn->tcpstateflags & UIP_TS_MASK) != UIP_CLOSED)