Costmetic changes after review for sense of OK (should be zero)

This commit is contained in:
Gregory Nutt 2014-06-19 07:58:43 -06:00
parent ca29783785
commit d7372fbdbc

View File

@ -246,7 +246,7 @@ static int handle_script(struct httpd_state *pstate)
send(pstate->ht_sockfd, pstate->ht_file.data, pstate->ht_file.len, 0);
httpd_close(&pstate->ht_file);
(void)httpd_close(&pstate->ht_file);
}
else
{
@ -306,6 +306,7 @@ static int handle_script(struct httpd_state *pstate)
pstate->ht_file.len -= len;
}
}
return OK;
}
#endif
@ -514,7 +515,6 @@ static int httpd_sendfile(struct httpd_state *pstate)
}
ret = handle_script(pstate);
goto done;
}
#endif
@ -531,9 +531,7 @@ static int httpd_sendfile(struct httpd_state *pstate)
#endif
done:
(void)httpd_close(&pstate->ht_file);
return ret;
}