From: Fredrik Tolf Date: Sat, 15 May 2021 01:21:02 +0000 (+0200) Subject: htpipe: Fixed simple initialization bug. X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=3840f76dcfe70eaee8a3981025f41a54baa67964 htpipe: Fixed simple initialization bug. --- diff --git a/src/htpipe.c b/src/htpipe.c index 7bfde75..223212e 100644 --- a/src/htpipe.c +++ b/src/htpipe.c @@ -104,6 +104,7 @@ static void runserver(int lsk, int ch) struct hthead *req; ncl = 0; + cl = NULL; while(1) { struct pollfd pfd[ncl + 1]; for(i = 0; i < ncl; i++) {