fixing HTML for Symantec sync
authorVolker Birk <vb@pep.foundation>
Wed, 03 Oct 2018 15:01:06 +0200
branchsync
changeset 29820049a0bc457b
parent 2981 39a510d16cdd
child 2983 513f7ae0897b
fixing HTML for Symantec
src/message_api.c
     1.1 --- a/src/message_api.c	Thu Sep 27 13:53:33 2018 +0200
     1.2 +++ b/src/message_api.c	Wed Oct 03 15:01:06 2018 +0200
     1.3 @@ -1164,6 +1164,7 @@
     1.4          return false;
     1.5  
     1.6      const char* bare_filename_ptr = _get_resource_ptr_noown(blob->filename);
     1.7 +    bare_filename_ptr += strlen(bare_filename_ptr) - 15;
     1.8      if (strncmp(bare_filename_ptr, "PGPexch.htm.", 12) == 0) {
     1.9          if (strcmp(bare_filename_ptr + 11, ".pgp") == 0 ||
    1.10              strcmp(bare_filename_ptr + 11, ".asc") == 0)