(store_handler): Fixed indentation.
Showing
1 changed file
with
14 additions
and
14 deletions
... | @@ -1586,24 +1586,24 @@ store_handler (message_t msg, msg_part_t part, char *type, char *encoding, | ... | @@ -1586,24 +1586,24 @@ store_handler (message_t msg, msg_part_t part, char *type, char *encoding, |
1586 | 1586 | ||
1587 | if (header_aget_value (hdr, MU_HEADER_CONTENT_DISPOSITION, &val) == 0) | 1587 | if (header_aget_value (hdr, MU_HEADER_CONTENT_DISPOSITION, &val) == 0) |
1588 | { | 1588 | { |
1589 | if (argcv_get (val, "=", NULL, &argc, &argv) == 0) | 1589 | if (argcv_get (val, "=", NULL, &argc, &argv) == 0) |
1590 | { | ||
1591 | int i; | ||
1592 | |||
1593 | for (i = 0; i < argc; i++) | ||
1594 | { | 1590 | { |
1595 | if (strcmp (argv[i], "filename") == 0 | 1591 | int i; |
1596 | && ++i < argc | 1592 | |
1597 | && argv[i][0] == '=' | 1593 | for (i = 0; i < argc; i++) |
1598 | && ++i < argc) | ||
1599 | { | 1594 | { |
1600 | name = normalize_path (dir, argv[i]); | 1595 | if (strcmp (argv[i], "filename") == 0 |
1601 | break; | 1596 | && ++i < argc |
1597 | && argv[i][0] == '=' | ||
1598 | && ++i < argc) | ||
1599 | { | ||
1600 | name = normalize_path (dir, argv[i]); | ||
1601 | break; | ||
1602 | } | ||
1602 | } | 1603 | } |
1604 | argcv_free (argc, argv); | ||
1603 | } | 1605 | } |
1604 | argcv_free (argc, argv); | 1606 | free (val); |
1605 | } | ||
1606 | free (val); | ||
1607 | } | 1607 | } |
1608 | 1608 | ||
1609 | if (!name | 1609 | if (!name | ... | ... |
-
Please register or sign in to post a comment