diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2020-02-06 19:43:57 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2020-02-06 19:43:57 +0300 |
commit | 83cd2267b309fa7411acaed356f88101196bb2ad (patch) | |
tree | 8ab5f2ebdfbbc5020f13329858d6364d82beabd9 /examples | |
parent | 37cd01d27efc7988548dbfde307e41be7d4f41a9 (diff) | |
download | magi-83cd2267b309fa7411acaed356f88101196bb2ad.tar magi-83cd2267b309fa7411acaed356f88101196bb2ad.tar.xz magi-83cd2267b309fa7411acaed356f88101196bb2ad.zip |
[magi] Broken to become better.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Makefile | 2 | ||||
-rw-r--r-- | examples/upload.c | 2 |
2 files changed, 2 insertions, 2 deletions
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); } |