05.12.2010 19:12, Michael Tokarev wrote:
> The patch below is something I carry locally
> since very long time, I forgot when I used it
> first.  It were rejected when I first posted
> it to postfix-users, but without it building
> shared libpostfix is not possible due to
> wrongly placed variable.  FWIW.

And another bit of the very same nature.  This
is a bit yonger than the cmdmaxtime patch, since
scache were introduced much later.

/mjt

--- postfix-2.3-20060103.orig/src/global/scache_clnt.c	2005-12-08 23:51:31.000000000 +0300
+++ postfix-2.3-20060103/src/global/scache_clnt.c	2006-01-19 17:35:00.000000000 +0300
@@ -63,6 +63,13 @@
 #include <mail_params.h>
 #include <scache.h>
 
+/*
+ * Tunable parameters. These have compiled-in defaults that can be overruled
+ * by settings in the global Postfix configuration file.
+ */
+
+char  *var_scache_service;
+
 /* Application-specific. */
 
  /*
diff -u -p -r postfix-2.3-20060103.orig/src/smtp/smtp.c postfix-2.3-20060103/src/smtp/smtp.c
--- postfix-2.3-20060103.orig/src/smtp/smtp.c	2006-01-03 21:49:02.000000000 +0300
+++ postfix-2.3-20060103/src/smtp/smtp.c	2006-01-19 17:33:15.000000000 +0300
@@ -594,7 +594,6 @@ int     var_smtp_mxsess_limit;
 int     var_smtp_cache_conn;
 int     var_smtp_reuse_time;
 char   *var_smtp_cache_dest;
-char   *var_scache_service;
 bool    var_smtp_cache_demand;
 char   *var_smtp_ehlo_dis_words;
 char   *var_smtp_ehlo_dis_maps;

Reply via email to