changeset 510:d093a6e1ed3f

Don't closedir() before done with dir
author mmj
date Mon, 20 Jun 2005 23:23:55 +1000
parents c89f55896ba5
children 7db9bd8fe4ac
files ChangeLog VERSION src/mlmmj-maintd.c
diffstat 3 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jun 20 22:40:39 2005 +1000
+++ b/ChangeLog	Mon Jun 20 23:23:55 2005 +1000
@@ -1,4 +1,5 @@
 1.2.8
+ o Make sure the resend of requeue files will not loop indefinately
  o Make sure the resend of queue files will not loop indefinately
  o Make Date: header RFC2822 compliant (Jakob Hirsch)
  o Add -s switch to mlmmj-{,un}sub to control whether or not to send a mail
--- a/VERSION	Mon Jun 20 22:40:39 2005 +1000
+++ b/VERSION	Mon Jun 20 23:23:55 2005 +1000
@@ -1,1 +1,1 @@
-1.2.8-rc1
+1.2.8
--- a/src/mlmmj-maintd.c	Mon Jun 20 22:40:39 2005 +1000
+++ b/src/mlmmj-maintd.c	Mon Jun 20 23:23:55 2005 +1000
@@ -332,7 +332,6 @@
 			      pid = waitpid(childpid, &status, 0);
 			while(pid == -1 && errno == EINTR);
 		} else {
-			closedir(queuedir);
 			if(repto) {
 				execlp(mlmmjsend, mlmmjsend,
 						"-l", "1",
@@ -444,7 +443,6 @@
 			      pid = waitpid(childpid, &status, 0);
 			while(pid == -1 && errno == EINTR);
 		} else {
-			closedir(queuedir);
 			execlp(mlmmjsend, mlmmjsend,
 					"-l", "3",
 					"-L", listdir,