From 2ad098fd69d86c9d73e28d5c4a27a4df5f97ae44 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Wed, 29 Nov 2017 23:52:57 -0800 Subject: [PATCH] Remove test code from last commit. --- upnphttp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upnphttp.c b/upnphttp.c index 8d5f9b1..16631e2 100644 --- a/upnphttp.c +++ b/upnphttp.c @@ -268,7 +268,7 @@ ParseHttpHeaders(struct upnphttp * h) p = colon + 1; while(isspace(*p)) p++; - for(n = 0; n < n_lan_addr+1; n++) + for(n = 0; n < n_lan_addr; n++) { for(i = 0; lan_addr[n].str[i]; i++) {