From 2457b16d096a44715daaa474acc0f9b4f9fb2603 Mon Sep 17 00:00:00 2001 From: Alden Torres Date: Wed, 12 Aug 2015 00:10:32 -0400 Subject: [PATCH] Documented that portmap_log_alert is only posted if port_mapping_log_notification is enabled. --- include/libtorrent/alert_types.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/libtorrent/alert_types.hpp b/include/libtorrent/alert_types.hpp index bbeb94ed9..271593a5c 100644 --- a/include/libtorrent/alert_types.hpp +++ b/include/libtorrent/alert_types.hpp @@ -1390,7 +1390,9 @@ namespace libtorrent // This alert is generated to log informational events related to either // UPnP or NAT-PMP. They contain a log line and the type (0 = NAT-PMP // and 1 = UPnP). Displaying these messages to an end user is only useful - // for debugging the UPnP or NAT-PMP implementation. + // for debugging the UPnP or NAT-PMP implementation. This alert is only + // posted if the alert::port_mapping_log_notification flag is enabled in + // the alert mask. struct TORRENT_EXPORT portmap_log_alert: alert { // internal