summaryrefslogtreecommitdiff
path: root/src/network/socket_handler.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-05-28 02:03:36 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-05-28 02:03:36 +0200
commite033b6a3ae2923b040eb08cfa5376efe0a3da898 (patch)
treebf37f989fbf4c34581d6d7ededb1350c226fce60 /src/network/socket_handler.hpp
parent6c2d03da4ea0443624b6bf434b6a654c12e48438 (diff)
downloadbiboumi-e033b6a3ae2923b040eb08cfa5376efe0a3da898.tar.gz
biboumi-e033b6a3ae2923b040eb08cfa5376efe0a3da898.tar.bz2
biboumi-e033b6a3ae2923b040eb08cfa5376efe0a3da898.tar.xz
biboumi-e033b6a3ae2923b040eb08cfa5376efe0a3da898.zip
On connection in-progress, save the whole addrinfo struct, not just ai_addr
Diffstat (limited to 'src/network/socket_handler.hpp')
-rw-r--r--src/network/socket_handler.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/socket_handler.hpp b/src/network/socket_handler.hpp
index e6a36bf..0b59757 100644
--- a/src/network/socket_handler.hpp
+++ b/src/network/socket_handler.hpp
@@ -131,6 +131,7 @@ protected:
* connect()ing to it, to reuse it directly when connect() is called
* again.
*/
+ struct addrinfo addrinfo;
struct sockaddr ai_addr;
socklen_t ai_addrlen;