"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libs/maildir/maildirfilter2.c" between
sqwebmail-5.9.3.tar.bz2 and sqwebmail-6.0.0.tar.bz2

About: SqWebMail is a CGI Webmail client for Maildir mailboxes (module of the Courier mail server).

maildirfilter2.c  (sqwebmail-5.9.3.tar.bz2):maildirfilter2.c  (sqwebmail-6.0.0.tar.bz2)
skipping to change at line 214 skipping to change at line 214
if ((fd=maildir_tmpcreate_fd(&createInfo)) < 0) if ((fd=maildir_tmpcreate_fd(&createInfo)) < 0)
return -1; return -1;
close(fd); close(fd);
unlink(createInfo.tmpname); unlink(createInfo.tmpname);
strcat(strcpy(createInfo.newname, maildir), "/maildirfilter.tmp"); strcat(strcpy(createInfo.newname, maildir), "/maildirfilter.tmp");
rc=maildir_filter_saverules(mf, createInfo.tmpname, rc=maildir_filter_saverules(mf, createInfo.tmpname,
maildir, maildirpath, from); maildirpath, from);
if (rc == 0 && rename(createInfo.tmpname, createInfo.newname)) if (rc == 0 && rename(createInfo.tmpname, createInfo.newname))
rc= -1; rc= -1;
maildir_tmpcreate_free(&createInfo); maildir_tmpcreate_free(&createInfo);
return (rc); return (rc);
} }
int maildir_filter_exportmaildirfilter(const char *maildir) int maildir_filter_exportmaildirfilter(const char *maildir)
{ {
char *maildirfilter=maildir_filter_config_maildirfilter(maildir); char *maildirfilter=maildir_filter_config_maildirfilter(maildir);
char *newname; char *newname;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)