diff src/c/driver.c @ 740:b302b6e35f93

Add MIME type to file
author Adam Chlipala <adamc@hcoop.net>
date Sat, 25 Apr 2009 14:47:16 -0400
parents 4bb7e1c0550a
children f7e2026dd5ae
line wrap: on
line diff
--- a/src/c/driver.c	Sat Apr 25 14:35:49 2009 -0400
+++ b/src/c/driver.c	Sat Apr 25 14:47:16 2009 -0400
@@ -393,7 +393,7 @@
             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