aboutsummaryrefslogblamecommitdiff
path: root/mail/qmail/files/extra-patch-maildir++
blob: cd8a55ec0b94321955562281c829265cb9e601a2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                  
--- qmail-local.c.orig	2012-10-11 10:22:24.000000000 -0300
+++ qmail-local.c	2012-10-11 10:23:24.000000000 -0300
@@ -109,7 +109,7 @@
    s += fmt_strn(s,host,sizeof(host));
    s += fmt_strn(s,",S=",sizeof(",S="));
    if (fstat(0,&st) == -1) if (errno == error_noent) break;
-   s += fmt_ulong(s,st.st_size); *s++ = 0;
+   s += fmt_ulong(s,st.st_size+rpline.len+dtline.len); *s++ = 0;
    if (stat(fntmptph,&st) == -1) if (errno == error_noent) break;
    /* really should never get to this point */
    if (loop == 2) _exit(1);