From 83cd2267b309fa7411acaed356f88101196bb2ad Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Thu, 6 Feb 2020 19:43:57 +0300 Subject: [magi] Broken to become better. --- examples/Makefile | 2 +- examples/upload.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/Makefile b/examples/Makefile index 2f57b1e..8f5282c 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -20,7 +20,7 @@ CFLAGS += -O3 endif # Including magi library headers and setting linker to use it: -INCLUDE = -I ../src +INCLUDE = -I ../include LFLAGS = -L.. -lmagi # Specification of library file to produce it, if not provided: diff --git a/examples/upload.c b/examples/upload.c index 19e045c..1877d39 100644 --- a/examples/upload.c +++ b/examples/upload.c @@ -39,7 +39,7 @@ int main(int argc, char const *argv[]) magi_response response; magi_response_setup(&response); response_request(&request, &response); - magi_response_cgi_clear(&response); + magi_response_cgi(&response); } else { magi_error_cgi(request.error); } -- cgit v1.2.3