Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 22c6721d authored by Deucе's avatar Deucе 👌🏾

Remove unused assignment.

No need to get time() here since it's never checked.

Resolves CID 174292
parent 20f76060
Pipeline #1348 passed with stage
in 12 minutes and 9 seconds
......@@ -4900,7 +4900,6 @@ static BOOL exec_cgi(http_session_t *session)
if(i!=-1 && i!=0) {
buf[i]=0;
lprintf(LOG_ERR,"%04d CGI Error: %s",session->socket,buf);
start=time(NULL);
}
}
......@@ -4908,7 +4907,6 @@ static BOOL exec_cgi(http_session_t *session)
i=read(out_pipe[0],buf,sizeof(buf));
if(i!=-1 && i!=0) {
int snt=0;
start=time(NULL);
snt=writebuf(session,buf,i);
if(session->req.ld!=NULL)
session->req.ld->size+=snt;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment