From b07b702ce4c2f769d4bb948d9f95f660c21baf73 Mon Sep 17 00:00:00 2001
From: Matteo Nastasi <nastasi@alternativeoutput.it>
Date: Sat, 4 Apr 2020 21:00:54 +0200
Subject: [PATCH] fixed direct_socket string

---
 web/Obj/sac-a-push.phh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/Obj/sac-a-push.phh b/web/Obj/sac-a-push.phh
index 2035e9d..fdbb968 100644
--- a/web/Obj/sac-a-push.phh
+++ b/web/Obj/sac-a-push.phh
@@ -485,7 +485,7 @@ class Sac_a_push {
 
         $thiz->file_socket_pfx = $sockname_pfx;
         $thiz->unix_socket_pfx = "unix://$sockname_pfx";
-        $thiz->direct_socket = "unix://${sockname}_admin.sock";
+        $thiz->direct_socket = "unix://${sockname_pfx}_admin.sock";
         $thiz->debug = $debug;
         $thiz->list_web = array();
         $thiz->socks = array();
-- 
2.17.1