summaryrefslogtreecommitdiff
path: root/wiretap/mime_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/mime_file.c')
-rw-r--r--wiretap/mime_file.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/wiretap/mime_file.c b/wiretap/mime_file.c
index a22c8b7120..b4a28d6a8c 100644
--- a/wiretap/mime_file.c
+++ b/wiretap/mime_file.c
@@ -89,10 +89,8 @@ static const mime_files_t magic_files[] = {
* reassembly, it would *still* have to allocate a buffer the size of
* the file, so it's not as if we'd neve try to allocate a buffer the
* size of the file.
- *
- * For now, go for 16MB.
*/
-#define MAX_FILE_SIZE (16*1024*1024)
+#define MAX_FILE_SIZE G_MAXINT
static gboolean
mime_read_file(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr,