diff options
-rw-r--r-- | example/append.c (renamed from examples/append.c) | 0 | ||||
-rw-r--r-- | example/cookie.c (renamed from examples/cookie.c) | 0 | ||||
-rw-r--r-- | example/makefile (renamed from examples/makefile) | 4 | ||||
-rw-r--r-- | example/upload.c (renamed from examples/upload.c) | 0 | ||||
-rw-r--r-- | src/field.h | 6 |
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/append.c b/example/append.c index f0dfe2a..f0dfe2a 100644 --- a/examples/append.c +++ b/example/append.c diff --git a/examples/cookie.c b/example/cookie.c index 8f4018b..8f4018b 100644 --- a/examples/cookie.c +++ b/example/cookie.c diff --git a/examples/makefile b/example/makefile index ecd7bc9..de6b310 100644 --- a/examples/makefile +++ b/example/makefile @@ -11,14 +11,14 @@ else CFLAGS += -O3 endif -INCLUDE = ../src +INCLUDE = -I ../src LFLAGS = -L.. -lmagi default: $(EXAMPLES) %: %.c - $(CC) $(CFLAGS) -I $(INCLUDE) $< $(LFLAGS) -o $@ + $(CC) $(CFLAGS) $(INCLUDE) $< $(LFLAGS) -o $@ clean: rm -f $(EXAMPLES) diff --git a/examples/upload.c b/example/upload.c index 9dc1efd..9dc1efd 100644 --- a/examples/upload.c +++ b/example/upload.c diff --git a/src/field.h b/src/field.h index 170dc7c..a6fcff3 100644 --- a/src/field.h +++ b/src/field.h @@ -6,9 +6,9 @@ * Form Field */ struct magi_field { - char *name; /* name: free(name) is valid. */ - char *data; /* data: free(data) is valid. */ - int len; /* Length of data. */ + char *name; /* name: free(name) is valid. */ + char *data; /* data: free(data) is valid. */ + int len; /* Length of data. */ struct magi_param_list *params; /* Only used if field is for file. */ }; |