From: Michael Jerris Date: Wed, 7 May 2014 16:54:40 +0000 (-0400) Subject: its logically impossible for this to be null, we are looping through an array on... X-Git-Tag: v1.5.12~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a933882e7e25120591c83935bb6772d1c703dea8;p=thirdparty%2Ffreeswitch.git its logically impossible for this to be null, we are looping through an array on the stack --- diff --git a/libs/libscgi/src/scgi.c b/libs/libscgi/src/scgi.c index 8db75c1ba6..9da34ff6d7 100644 --- a/libs/libscgi/src/scgi.c +++ b/libs/libscgi/src/scgi.c @@ -693,8 +693,6 @@ SCGI_DECLARE(scgi_status_t) scgi_parse(scgi_socket_t sock, scgi_handle_t *handle while(p < end) { next_str(p, e); - if (!e) break; - if (!loops++) { if (!strcasecmp(p, "CONTENT_LENGTH") && e) { clen = atoi(e);