#include "file.h"
#ifndef lint
-FILE_RCSID("@(#)$File: readcdf.c,v 1.62 2016/10/18 16:10:07 christos Exp $")
+FILE_RCSID("@(#)$File: readcdf.c,v 1.63 2016/10/18 22:25:42 christos Exp $")
#endif
#include <assert.h>
0, 0, 0, 0
},
},
- { "Microsoft Excel", "application/vnd.ms-excel",
+ { "Microsoft Excel", "vnd.ms-excel",
{
"Book", "Workbook", NULL, NULL, NULL,
},
0, 0, 0,
},
},
- { "Microsoft Word", "application/msword",
+ { "Microsoft Word", "msword",
{
"WordDocument", NULL, NULL, NULL, NULL,
},
0, 0, 0, 0,
},
},
- { "Microsoft PowerPoint", "application/vnd.ms-powerpoint",
+ { "Microsoft PowerPoint", "vnd.ms-powerpoint",
{
"PowerPoint", NULL, NULL, NULL, NULL,
},
0, 0, 0, 0,
},
},
- { "Microsoft Outlook Message", "application/vnd.ms-outlook",
+ { "Microsoft Outlook Message", "vnd.ms-outlook",
{
"__properties_version1.0",
"__recip_version1.0_#00000000",
if (file_printf(ms, "CDFV2 %s", si->name) == -1)
return -1;
} else {
- if (file_printf(ms, "application/CDFV2-%s",
- si->mime) == -1)
+ if (file_printf(ms, "application/%s", si->mime) == -1)
return -1;
}
return 1;
if (file_printf(ms, ", %s", expn) == -1)
return -1;
} else {
- if (file_printf(ms, "application/CDFV2-unknown") == -1)
+ if (file_printf(ms, "application/CDFV2") == -1)
return -1;
}
i = 1;