summaryrefslogtreecommitdiff
path: root/src/c/driver.c
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-04-25 14:47:16 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-04-25 14:47:16 -0400
commit609db88f316604bf1084dbb0defe5e6c0eaf07ae (patch)
treea76de7cb5b97a481d0ef3ddb3b406ae4b0f67a7f /src/c/driver.c
parentfed2930b7cf791909b9f5e073720bdc4e170acad (diff)
Add MIME type to file
Diffstat (limited to 'src/c/driver.c')
-rw-r--r--src/c/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/driver.c b/src/c/driver.c
index 6e06f32b..c95f8886 100644
--- a/src/c/driver.c
+++ b/src/c/driver.c
@@ -393,7 +393,7 @@ static void *worker(void *data) {
part += boundary_len;
if (filename) {
- uw_Basis_file f = {filename, {part_len, after_sub_headers}};
+ uw_Basis_file f = {filename, type, {part_len, after_sub_headers}};
uw_set_file_input(ctx, name, f);
} else