]> TLD Linux GIT Repositories - packages/postfix.git/blobdiff - postfix-scache_clnt.patch
- up to 3.6.2
[packages/postfix.git] / postfix-scache_clnt.patch
index 729638146bdc415ad9ee752ca5c5ccafdceccf1c..f09ca02fb47b59d485e4412dfebcf79b29984e57 100644 (file)
@@ -1,12 +1,11 @@
-diff -ur postfix-3.0.2.orig/src/global/scache_clnt.c postfix-3.0.2/src/global/scache_clnt.c
---- postfix-3.0.2.orig/src/global/scache_clnt.c        2014-12-14 18:22:05.000000000 +0000
-+++ postfix-3.0.2/src/global/scache_clnt.c     2015-07-25 18:31:06.208826277 +0000
-@@ -414,7 +414,7 @@
+--- postfix-3.6.2/src/global/scache_clnt.c.orig        2021-08-27 14:41:51.981598457 +0200
++++ postfix-3.6.2/src/global/scache_clnt.c     2021-08-27 14:44:13.138605407 +0200
+@@ -428,7 +428,7 @@
      sp->scache->size = scache_clnt_size;
      sp->scache->free = scache_clnt_free;
  
--    service = concatenate("local:private/", server, (char *) 0);
-+    service = concatenate("local:private/", var_scache_service, (char *) 0);
+-    service = concatenate("local:" MAIL_CLASS_PRIVATE "/", server, (char *) 0);
++    service = concatenate("local:" MAIL_CLASS_PRIVATE "/", var_scache_service, (char *) 0);
      sp->auto_clnt = auto_clnt_create(service, timeout, idle_limit, ttl_limit);
-     myfree(service);
+     auto_clnt_control(sp->auto_clnt,
+                     AUTO_CLNT_CTL_HANDSHAKE, scache_clnt_handshake,