[tpop3d-discuss]Problem with tpop3d

Daniel Tiefnig tpop3d at inode.at
Wed, 02 Nov 2005 17:28:01 +0100


This is a multi-part message in MIME format.
--------------060906030006080608070806
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Chris Lightfoot wrote:
> On Wed, Nov 02, 2005 at 04:21:37PM +0100, Daniel Tiefnig wrote:
>> I'll submit a patch to CVS if that's okay with you, Chris.
> 
> go for it.

The fix is quite easy, cvs diff is attached to this mail, I allready
commited to CVS too.

> We should probably do a 1.6.0 release fairly shortly, since people
> seem to be distributing the CVS version already....

Well, you know I completely agree with that since beginning of this year
allready. :o)

lg,
daniel

--------------060906030006080608070806
Content-Type: text/plain;
 name="tpop3d_segv.cvsdiff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="tpop3d_segv.cvsdiff"

Index: mailbox.c
===================================================================
RCS file: /home/chris/vcvs/repos/tpop3d/mailbox.c,v
retrieving revision 1.12
diff -u -r1.12 mailbox.c
--- mailbox.c	2 Sep 2005 16:27:22 -0000	1.12
+++ mailbox.c	2 Nov 2005 16:20:45 -0000
@@ -155,7 +155,10 @@
         if (subspec) {
             mdrv = str;
             *subspec++ = 0;
-        } else subspec = str;
+        } else {
+            subspec = str;
+            mdrv = mbox_drivers[0].name;
+        }
 
         path = substitute_variables(subspec, &err, 4, "user", a->user, "local_part", a->local_part, "domain", a->domain, "home", a->home);
 

--------------060906030006080608070806--