changed spaces to tabs in makefile
This commit is contained in:
parent
2c96daefbc
commit
978f65dcd6
@ -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
|
@ -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);
|
||||
|
Reference in New Issue
Block a user