"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libs/sqwebmail/sqwebmail.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).

sqwebmail.c  (sqwebmail-5.9.3.tar.bz2):sqwebmail.c  (sqwebmail-6.0.0.tar.bz2)
skipping to change at line 1076 skipping to change at line 1076
if (strcmp(kw, "a") == 0) if (strcmp(kw, "a") == 0)
{ {
addressbook(); addressbook();
} }
else if (strcmp(kw, "d") == 0) else if (strcmp(kw, "d") == 0)
{ {
const char *f=cgi("folderdir"); const char *f=cgi("folderdir");
char *origc, *c; char *origc, *c;
const char *sep=""; const char *sep="";
origc=c=folder_fromutf7(f); origc=c=folder_fromutf8(f);
if (*c && strcmp(c, INBOX)) if (*c && strcmp(c, INBOX))
{ {
printf(" - "); printf(" - ");
if (strcmp(c, NEWSHAREDSP) == 0 || if (strcmp(c, NEWSHAREDSP) == 0 ||
strncmp(c, NEWSHAREDSP ".", strncmp(c, NEWSHAREDSP ".",
sizeof(NEWSHAREDSP)) == 0) sizeof(NEWSHAREDSP)) == 0)
{ {
printf("%s", getarg("PUBLICFOLDERS")); printf("%s", getarg("PUBLICFOLDERS"));
skipping to change at line 2087 skipping to change at line 2087
if (strftime (yyyymm, sizeof(yyyymm), "%Y%m", tm) == 0) if (strftime (yyyymm, sizeof(yyyymm), "%Y%m", tm) == 0)
return; return;
if ((yyyymmp=read_sqconfig(".", SENTSTAMP, NULL)) != NULL && if ((yyyymmp=read_sqconfig(".", SENTSTAMP, NULL)) != NULL &&
strcmp(yyyymm, yyyymmp) == 0) strcmp(yyyymm, yyyymmp) == 0)
return; return;
if (strftime (buf, sizeof(buf), "." SENT ".%Y.%m-%b", tm) == 0) if (strftime (buf, sizeof(buf), "." SENT ".%Y.%m-%b", tm) == 0)
return; return;
pp=folder_toutf7(buf); pp=folder_toutf8(buf);
if (really) if (really)
rename("." SENT, pp); rename("." SENT, pp);
free(pp); free(pp);
if (really) if (really)
(void)maildir_create(INBOX "." SENT); (void)maildir_create(INBOX "." SENT);
write_sqconfig(".", SENTSTAMP, yyyymm); write_sqconfig(".", SENTSTAMP, yyyymm);
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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