diff options
Diffstat (limited to 'mail/sqwebmail/patches/patch-ak')
-rw-r--r-- | mail/sqwebmail/patches/patch-ak | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/sqwebmail/patches/patch-ak b/mail/sqwebmail/patches/patch-ak new file mode 100644 index 00000000000..5c8140d720e --- /dev/null +++ b/mail/sqwebmail/patches/patch-ak @@ -0,0 +1,22 @@ +$NetBSD: patch-ak,v 1.3 2007/09/06 04:05:41 jlam Exp $ + +--- sqwebmail/folder.c.orig 2007-02-24 14:05:45.000000000 -0500 ++++ sqwebmail/folder.c +@@ -270,7 +270,7 @@ void folder_delmsgs(const char *dir, siz + } + else if (*cgi("cmdpurgeall")) + { +- char *deldir; ++ char *cur, *deldir; + struct maildir_info minfo; + + if (maildir_info_imap_find(&minfo, dir, login_returnaddr())<0) +@@ -288,7 +288,7 @@ void folder_delmsgs(const char *dir, siz + return; + } + +- char *cur = malloc(strlen(deldir)+5); ++ cur = malloc(strlen(deldir)+5); + strcpy(cur, deldir); + strcat(cur, "/cur"); + |