mac80211: fix compile on systems that do not have /bin/true
[openwrt.git] / package / uhttpd / src / uhttpd-cgi.c
index 1a6c6ad..855a72f 100644 (file)
@@ -68,7 +68,7 @@ static struct http_response * uh_cgi_header_parse(char *buf, int len, int *off)
                                if( (pos < len) && (buf[pos] == '\n') )
                                        pos++;
 
-                               if( pos < len )
+                               if( pos <= len )
                                {
                                        if( (hdrcount + 1) < array_size(res.headers) )
                                        {
This page took 0.019848 seconds and 4 git commands to generate.