summaryrefslogtreecommitdiff
path: root/cad/PrusaSlicer/files/patch-src_slic3r_Utils_TCPConsole.cpp
blob: 3b2d917b970433b39fb2befc602dad033dc7aeee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/slic3r/Utils/TCPConsole.cpp.orig	2025-02-14 23:42:57 UTC
+++ src/slic3r/Utils/TCPConsole.cpp
@@ -161,7 +161,7 @@ bool TCPConsole::run_queue()
 
         auto endpoints = m_resolver.resolve(m_host_name, m_port_name);
 
-        m_socket.async_connect(endpoints->endpoint(),
+        m_socket.async_connect(endpoints.begin()->endpoint(),
             boost::bind(&TCPConsole::handle_connect, this, boost::placeholders::_1)
         );