Skip to content
Snippets Groups Projects
Commit 22c6721d authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Remove unused assignment.

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

Resolves CID 174292
parent 20f76060
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1348 passed
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment