summaryrefslogtreecommitdiff
path: root/contrib/depends/patches/zeromq/fix_declaration.patch
blob: 23fa0a21971379fadfbe98ad8f2187d469c96805 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/proxy.cpp   2024-11-19 19:46:31
+++ b/src/proxy.cpp   2024-11-19 19:47:37
@@ -499,7 +499,7 @@
     zmq_pollitem_t itemsout[] = {{frontend_, 0, ZMQ_POLLOUT, 0},
                                  {backend_, 0, ZMQ_POLLOUT, 0}};
 
-    stats_proxy stats = {0};
+    stats_proxy stats =  {{{0, 0}, {0, 0}}, {{0, 0}, {0, 0}}};
 
     //  Proxy can be in these three states
     proxy_state_t state = active;