changed spaces to tabs in makefile

This commit is contained in:
Blboun3 2024-01-16 12:43:45 +01:00
parent 2c96daefbc
commit 978f65dcd6
2 changed files with 6 additions and 6 deletions

View File

@ -1,14 +1,14 @@
all: server all: server
clean: clean:
rm -rf *.o rm -rf *.o
@rm -rf server @rm -rf server
server: main.o httpd.o server: main.o httpd.o
gcc -o server $^ -lssl -lcrypto gcc -o server $^ -lssl -lcrypto
main.o: main.c httpd.h main.o: main.c httpd.h
gcc -c -o main.o main.c -lssl -lcrypto gcc -c -o main.o main.c -lssl -lcrypto
httpd.o: httpd.c httpd.h httpd.o: httpd.c httpd.h
gcc -c -o httpd.o httpd.c gcc -c -o httpd.o httpd.c

View File

@ -151,7 +151,7 @@ void route() {
POST("/") { POST("/") {
HTTP_201; HTTP_201;
printf("Wow, seems that you POSTed %d bytes.\n", payload_size); printf("Wow, seems that you POSTed %d bytes. \n", payload_size);
printf("Fetch the data using `payload` variable.\n"); printf("Fetch the data using `payload` variable.\n");
if (payload_size > 0) if (payload_size > 0)
printf("Request body: %s", payload); printf("Request body: %s", payload);