From ee14337894abf5ad9d17db0c0cbbb3b02280d16b Mon Sep 17 00:00:00 2001 From: arvidn Date: Wed, 10 Feb 2016 18:28:34 -0500 Subject: [PATCH] revert listen_failed_alert::port --- include/libtorrent/alert_types.hpp | 3 --- src/alert.cpp | 1 - 2 files changed, 4 deletions(-) diff --git a/include/libtorrent/alert_types.hpp b/include/libtorrent/alert_types.hpp index 9ced3fc7b..d84e18c14 100644 --- a/include/libtorrent/alert_types.hpp +++ b/include/libtorrent/alert_types.hpp @@ -1292,9 +1292,6 @@ namespace libtorrent // the specific low level operation that failed. See op_t. int operation; - // the port attempted to be opened for listening - int port; - // the type of listen socket this alert refers to. socket_type_t sock_type; diff --git a/src/alert.cpp b/src/alert.cpp index 5add43b12..4bd7bc9ed 100644 --- a/src/alert.cpp +++ b/src/alert.cpp @@ -804,7 +804,6 @@ namespace libtorrent { , socket_type_t t) : error(ec) , operation(op) - , port(prt) , sock_type(t) , endpoint(parse_interface(iface, prt)) , m_alloc(alloc)