ENGINE-289: merged in default ENGINE-289
authorKrista Bennett <krista@pep-project.org>
Mon, 18 Dec 2017 23:17:20 +0100
branchENGINE-289
changeset 232833103198fcdc
parent 2327 cc04433060ff
parent 2322 5febb3fac06c
child 2329 b9b75cd73c2b
ENGINE-289: merged in default
     1.1 --- a/src/mime.c	Mon Dec 18 23:10:29 2017 +0100
     1.2 +++ b/src/mime.c	Mon Dec 18 23:17:20 2017 +0100
     1.3 @@ -100,7 +100,7 @@
     1.4  static bool known_ascii_type(const char* mime_type) {
     1.5      const char* text_types[] = {"application/pgp-keys",
     1.6                                  "application/pgp-encrypted"};
     1.7 -    const int TEXT_TYPE_ARRAY_SIZE = 3;
     1.8 +    const int TEXT_TYPE_ARRAY_SIZE = sizeof(text_types)/sizeof(text_types[0]);
     1.9      
    1.10      int i;
    1.11