From 1eb9cadad3e3b31713ab600aaccd59865ad1ed92 Mon Sep 17 00:00:00 2001 From: CHTEKK Date: Tue, 1 May 2007 14:53:49 +0000 Subject: Fix spacing for better readability. svn path=/; revision=51 --- vda/postfix-2.4.1-vda-ng.patch | 14 +++++++++----- 1 file 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 #include @@ -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 -- cgit v1.2.3-65-gdbad