Removed superfluous commits

This commit is contained in:
Nate Choe
2022-02-14 02:46:33 -06:00
parent 2105f00965
commit 8df741a078
6 changed files with 2 additions and 23 deletions

View File

@@ -15,16 +15,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/socket.h>
#include <util.h>
#include <runner.h>
@@ -186,7 +179,8 @@ static int processChar(Connection *conn, char c, Sitefile *site) {
conn->currLineAlloc *= 2;
newline = realloc(conn->currLine,
conn->currLineAlloc);
assert(newline != NULL);
if (newline == NULL)
return 1;
conn->currLine = newline;
}
conn->currLine[conn->currLineLen++] = c;

View File

@@ -16,20 +16,13 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdint.h>
#include <stdarg.h>
#include <pwd.h>
#include <fcntl.h>
#include <signal.h>
#include <unistd.h>
#include <pthread.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <util.h>
#include <runner.h>

View File

@@ -16,7 +16,6 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@@ -15,15 +15,12 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <limits.h>
#include <unistd.h>
#include <sys/stat.h>
#include <responseutil.h>

View File

@@ -15,10 +15,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>

View File

@@ -15,7 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <stdint.h>
#include <stdarg.h>
#include <assert.h>