merge "default" into "roker-linux" branch roker-linux
authorRoker <roker@pep-project.org>
Wed, 13 Jul 2016 23:21:11 +0200
branchroker-linux
changeset 8656820715a0928
parent 863 c4d31c928b9f
parent 864 b0be088fbcb7
child 867 28e65ff06c40
merge "default" into "roker-linux" branch
     1.1 --- a/src/message_api.c	Wed Jul 13 23:18:30 2016 +0200
     1.2 +++ b/src/message_api.c	Wed Jul 13 23:21:11 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;