okay, one "const" too much
authorRoker <roker@pep-project.org>
Wed, 13 Jul 2016 23:20:42 +0200
changeset 864b0be088fbcb7
parent 862 0f0414b15c72
child 865 6820715a0928
child 866 b68fb7922e30
okay, one "const" too much
src/message_api.c
     1.1 --- a/src/message_api.c	Wed Jul 13 23:13:41 2016 +0200
     1.2 +++ b/src/message_api.c	Wed Jul 13 23:20:42 2016 +0200
     1.3 @@ -1383,7 +1383,7 @@
     1.4                              }
     1.5                              else {
     1.6                                  static const char * const mime_type = "application/octet-stream";
     1.7 -                                const char * const filename =
     1.8 +                                char * const filename =
     1.9                                      without_double_ending(_s->filename);
    1.10                                  if (filename == NULL)
    1.11                                      goto enomem;