Skip to content

Commit

Permalink
Merge branch 'master' into portable
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim van der Molen committed Aug 28, 2024
2 parents 98a02f7 + 39cdd91 commit 156119a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd-export-attachments.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ get_file(int dfd, struct sbk_attachment *att, int flags)
char *name, *tmp;
const char *ext;
time_t tt;
char base[40];
char base[100];

if (att->filename != NULL && *att->filename != '\0') {
if ((name = strdup(att->filename)) == NULL) {
Expand Down

0 comments on commit 156119a

Please sign in to comment.