summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--axiom/include/axiom_mime_parser.h2
-rw-r--r--axiom/src/attachments/mime_parser.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/axiom/include/axiom_mime_parser.h b/axiom/include/axiom_mime_parser.h
index b7f4f00..2c86383 100644
--- a/axiom/include/axiom_mime_parser.h
+++ b/axiom/include/axiom_mime_parser.h
@@ -41,7 +41,7 @@ extern "C"
#define AXIOM_MIME_PARSER_BUFFER_SIZE (1024 * 1024/2)
#define AXIOM_MIME_PARSER_MAX_BUFFERS 1000
-#define AXIOM_MIME_PARSER_END_OF_MIME_MAX_COUNT 100
+#define AXIOM_MIME_PARSER_END_OF_MIME_MAX_COUNT 1000
typedef struct axiom_mime_parser axiom_mime_parser_t;
diff --git a/axiom/src/attachments/mime_parser.c b/axiom/src/attachments/mime_parser.c
index 9da9c9f..4954d96 100644
--- a/axiom/src/attachments/mime_parser.c
+++ b/axiom/src/attachments/mime_parser.c
@@ -100,7 +100,7 @@ typedef struct axiom_search_info axiom_search_info_t;
#define AXIOM_MIME_PARSER_CONTENT_ID "content-id"
#define AXIOM_MIME_PARSER_CONTENT_TYPE "content-type"
-#define AXIOM_MIME_PARSER_END_OF_MIME_MAX_COUNT 100
+#define AXIOM_MIME_PARSER_END_OF_MIME_MAX_COUNT 1000
static axis2_char_t *
axiom_mime_parser_search_for_soap(
@@ -725,7 +725,7 @@ axiom_mime_parser_parse_for_attachments(
/* This loop will extract all the attachments in the message. The condition
* with the count is needed because if the sender not marked the end of the
- * attachment wiht -- then this loop may run infinitely. To prevent that
+ * attachment with -- then this loop may run infinitely. To prevent that
* this additional condition has been put */
temp_mime_boundary = axutil_stracat(env, "--", mime_boundary);