Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
Forwarded: no
Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-02
+Last-Update: 2010-06-18
--- a/crypto.c
+++ b/crypto.c
-@@ -262,7 +262,7 @@
+@@ -261,7 +261,7 @@
/* Send AUTH command according to RFC 2554 */
send_remote_command(fd, "AUTH CRAM-MD5");
if (read_remote(fd, sizeof(buffer), buffer) != 3) {
Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
Forwarded: no
Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-02
+Last-Update: 2010-06-18
--- a/dma.conf
+++ b/dma.conf
if (initialized)
@@ -62,7 +63,9 @@
- if (config->mailnamefile != NULL && config->mailnamefile[0] != '\0') {
- fp = fopen(config->mailnamefile, "r");
+ if (config.mailnamefile != NULL && config.mailnamefile[0] != '\0') {
+ fp = fopen(config.mailnamefile, "r");
if (fp != NULL) {
- if (fgets(name, sizeof(name), fp) != NULL) {
+ res = fgets(name, sizeof(name), fp);
Bug-Debian: http://bugs.debian.org/544357
Forwarded: no
Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-02
+Last-Update: 2010-06-18
--- a/spool.c
+++ b/spool.c
-@@ -287,7 +287,8 @@
+@@ -291,7 +291,8 @@
mailfn = NULL;
/* ignore temp files */
continue;
if (de->d_name[0] != 'Q')
continue;
-@@ -296,6 +297,9 @@
- if (asprintf(&mailfn, "%s/M%s", config->spooldir, de->d_name + 1) < 0)
+@@ -300,6 +301,9 @@
+ if (asprintf(&mailfn, "%s/M%s", config.spooldir, de->d_name + 1) < 0)
goto fail;
+ if (de->d_type == DT_UNKNOWN)
Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
Forwarded: no
Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-02
+Last-Update: 2010-06-18
--- a/spool.c
+++ b/spool.c
-@@ -89,7 +89,7 @@
+@@ -92,7 +92,7 @@
*/
if (fstat(fd, &st) != 0)
goto fail;
Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
Forwarded: no
Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-15
+Last-Update: 2010-06-18
--- a/mail.c
+++ b/mail.c
-@@ -428,8 +428,8 @@
+@@ -427,8 +427,8 @@
if (addr == NULL)
errlog(1, NULL);
Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
Forwarded: no
Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-17
+Last-Update: 2010-06-18
--- a/spool.c
+++ b/spool.c
-@@ -315,7 +315,7 @@
+@@ -319,7 +319,7 @@
if (queuefn != NULL)
free(queuefn);
if (mailfn != NULL)