mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
Adapted patch provided from Jesper Schmitz Mouridsen PR: 284821 Reported by: Torfinn Ingolfsen Approved by: teodorsigaev@
11 lines
443 B
C++
11 lines
443 B
C++
--- 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)
|
|
);
|
|
|