ports/www/dansguardian-devel/files/patch-src__OptionContainer.cpp
Renato Botelho da51663cfb - Update to 2.12.0.3 [1]
- Use USE_PKGCONFIG
- Devel tarball is available at sourceforge, so use it and remove instructions
  for manual download

PR:		ports/175526 [1]
Submitted by:	Marcello Coutinho <marcellocoutinho@gmail.com> [1]
2013-01-28 11:13:38 +00:00

11 lines
456 B
C++

--- ./src/OptionContainer.cpp.orig 2013-01-25 02:31:02.000000000 +0000
+++ ./src/OptionContainer.cpp 2013-01-25 02:31:25.000000000 +0000
@@ -612,7 +612,7 @@
}
// if the more than one port is being used, validate the combination of auth plugins
- if (authplugins.size() > 1) {
+ if (authplugins.size() > 1 and filter_ports.size() > 1) {
std::deque<Plugin*>::iterator it = authplugins.begin();
String firstPlugin;
bool sslused = false;