aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile2
-rw-r--r--examples/upload.c2
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);
}