diff options
author | CHTEKK <CHTEKK@localhost> | 2007-05-01 14:53:49 +0000 |
---|---|---|
committer | CHTEKK <CHTEKK@localhost> | 2007-05-01 14:53:49 +0000 |
commit | 1eb9cadad3e3b31713ab600aaccd59865ad1ed92 (patch) | |
tree | 9dd66a149cbcc2b9d87df516e072cd7bbd2bf8ad | |
parent | Handle freeing of stuff better. (diff) | |
download | chtekk-1eb9cadad3e3b31713ab600aaccd59865ad1ed92.tar.gz chtekk-1eb9cadad3e3b31713ab600aaccd59865ad1ed92.tar.bz2 chtekk-1eb9cadad3e3b31713ab600aaccd59865ad1ed92.zip |
Fix spacing for better readability.
svn path=/; revision=51
-rw-r--r-- | vda/postfix-2.4.1-vda-ng.patch | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/vda/postfix-2.4.1-vda-ng.patch b/vda/postfix-2.4.1-vda-ng.patch index 8fcfc49..1d81d68 100644 --- a/vda/postfix-2.4.1-vda-ng.patch +++ b/vda/postfix-2.4.1-vda-ng.patch @@ -345,7 +345,7 @@ diff -Nru postfix-2.4.1/src/virtual/mailbox.c postfix-2.4.1-vda/src/virtual/mail * Cleanup. diff -Nru postfix-2.4.1/src/virtual/maildir.c postfix-2.4.1-vda/src/virtual/maildir.c --- postfix-2.4.1/src/virtual/maildir.c 2006-06-26 14:59:19.000000000 +0200 -+++ postfix-2.4.1-vda/src/virtual/maildir.c 2007-05-01 16:50:25.000000000 +0200 ++++ postfix-2.4.1-vda/src/virtual/maildir.c 2007-05-01 16:53:26.000000000 +0200 @@ -63,28 +63,406 @@ #include <mbox_open.h> #include <dsn_util.h> @@ -471,7 +471,8 @@ diff -Nru postfix-2.4.1/src/virtual/maildir.c postfix-2.4.1-vda/src/virtual/mail +{ + const char *o; + int yes = 0; -+ + +-int deliver_maildir(LOCAL_STATE state, USER_ATTR usr_attr) + if ((o = strrchr(n, '/')) == 0) + o = n; + @@ -499,8 +500,7 @@ diff -Nru postfix-2.4.1/src/virtual/maildir.c postfix-2.4.1-vda/src/virtual/mail + + return s; + } - --int deliver_maildir(LOCAL_STATE state, USER_ATTR usr_attr) ++ + return 0; +} + @@ -1206,7 +1206,7 @@ diff -Nru postfix-2.4.1/src/virtual/maildir.c postfix-2.4.1-vda/src/virtual/mail } set_eugid(var_owner_uid, var_owner_gid); -@@ -223,31 +914,60 @@ +@@ -223,31 +914,64 @@ * location possibly under user control. */ if (mail_copy_status & MAIL_COPY_STAT_CORRUPT) { @@ -1271,19 +1271,23 @@ diff -Nru postfix-2.4.1/src/virtual/maildir.c postfix-2.4.1-vda/src/virtual/mail + } + vstring_free(buf); ++ myfree(newdir); myfree(tmpdir); myfree(curdir); ++ + if (sizefilename) + myfree(sizefilename); + if (mdffilename) + myfree(mdffilename); ++ myfree(tmpfile); if (newfile) - myfree(newfile); + myfree(newfile); + if (bkpnewfile) + myfree(bkpnewfile); ++ return (deliver_status); } diff -Nru postfix-2.4.1/src/virtual/virtual.c postfix-2.4.1-vda/src/virtual/virtual.c |