summaryrefslogtreecommitdiff
blob: 3b9cd7a60cbaa4a07fb8e8491a7119b4b33de2be (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/MIME_headers.c	2010-11-07 12:38:52.994063648 -0800
+++ b/MIME_headers.c	2010-11-07 12:39:06.395161970 -0800
@@ -2239,7 +2239,7 @@
 		{
 			if (MIMEH_DNORMAL) LOGGER_log("%s:%d:MIME_parse_contentlocation:DEBUG: filename = %s\n", FL, p);
 			snprintf(hinfo->name, sizeof(hinfo->name),"%s",p);
-			snprintf(hinfo->filename, sizeof(hinfo->name),"%s",p);
+			snprintf(hinfo->filename, sizeof(hinfo->filename),"%s",p);
 			FNFILTER_filter(hinfo->filename, _MIMEH_FILENAMELEN_MAX);
 			SS_push(&(hinfo->ss_filenames), hinfo->filename, strlen(hinfo->filename));