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
clean:
rm -rf *.o
@rm -rf server
rm -rf *.o
@rm -rf server
server: main.o httpd.o
gcc -o server $^ -lssl -lcrypto
gcc -o server $^ -lssl -lcrypto
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
gcc -c -o httpd.o httpd.c
gcc -c -o httpd.o httpd.c

View File

@ -151,7 +151,7 @@ void route() {
POST("/") {
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");
if (payload_size > 0)
printf("Request body: %s", payload);