1 message in net.sourceforge.lists.courier-maildrop[maildropl] [patch] quota in mysql
FromSent OnAttachments
Bjoern A. ZeebDec 4, 2001 4:04 am.diff
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] [patch] quota in mysqlActions...
From:Bjoern A. Zeeb (bzee@zabbadoz.net)
Date:Dec 4, 2001 4:04:43 am
List:net.sourceforge.lists.courier-maildrop
Attachments:

Hi,

with my last patch I broke maildir quota support in mysql because of internal peculiarities. Sorry for this. Please check attached patch to revert to old behaviour - I did not test it but it at least compiles.

-- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/

--- maildrop-1.3.6.vanilla/./maildrop/mdmysql.c Mon Nov 26 05:09:16 2001 +++ maildrop-1.3.6/./maildrop/mdmysql.c Tue Dec 4 13:32:48 2001 @@ -95,10 +95,6 @@ rec->homedir=strdup(row[3]); rec->maildir=strdup(row[4]); rec->quota=strdup(row[5]); - if (atol(rec->quota) == 0) { - free(rec->quota); - rec->quota = NULL; - } rec->mailstatus=strdup(row[6]);

mysql_free_result(result);