Displaying 1 result from an estimated 1 matches for "writefold".
Did you mean:
writefile
2006 Jul 05
2
Procmail patch for dovecot delivery
...---- next part --------------
diff -Nur procmail-3.22-orig/src/mailfold.c procmail-3.22/src/mailfold.c
--- procmail-3.22-orig/src/mailfold.c 2001-09-11 06:58:34.000000000 +0200
+++ procmail-3.22/src/mailfold.c 2006-07-05 20:32:22.000000000 +0200
@@ -191,9 +191,107 @@
return opena(buf);
}
-int writefolder(boxname,linkfolder,source,len,ignwerr,dolock)
- char*boxname,*linkfolder;const char*source;long len;const int ignwerr,dolock;
+int isyes(const char* s)
+{
+ int result = 0;
+ char* env = getenv(s);
+ if (env)
+ {
+ result = !strcmp(env, "yes");
+ }
+ return result;
+}
+
+int wr...