diff options
author | methodus <methodus@web.de> | 2013-01-03 02:29:08 +0100 |
---|---|---|
committer | methodus <methodus@web.de> | 2013-01-03 02:29:08 +0100 |
commit | 0c1c7fe86992a030ed6e72a74b1e16607c4516a2 (patch) | |
tree | 8e7dcfe2be7287de4ff68f27c7a204f093e98886 /common/tools.cpp | |
parent | 1cd3c746a1d3b8d0a5eeb100ea582ff04cc4a454 (diff) | |
download | vdr-plugin-upnp-0c1c7fe86992a030ed6e72a74b1e16607c4516a2.tar.gz vdr-plugin-upnp-0c1c7fe86992a030ed6e72a74b1e16607c4516a2.tar.bz2 |
Fixed stupid comparator bug
Diffstat (limited to 'common/tools.cpp')
-rw-r--r-- | common/tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/tools.cpp b/common/tools.cpp index d46e8c1..a1a5f4b 100644 --- a/common/tools.cpp +++ b/common/tools.cpp @@ -64,7 +64,7 @@ string GetAddressByInterface(string Interface){ } string GetNetworkInterfaceByIndex(int Index, bool skipLoop){ StringVector interfaces = GetNetworkInterfaces(skipLoop); - if(interfaces.size() < 0) + if(interfaces.size() > 0) return interfaces[Index]; else return string(); |