aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgenofire <geno+dev@fireorbit.de>2020-02-09 23:12:03 +0100
committergenofire <geno+dev@fireorbit.de>2020-02-09 23:12:03 +0100
commit470cc533b2031651fda18adac5474fba2db1b790 (patch)
tree94017c2f20a8470f81a0d115f1e4ac4af2eb906f /src
parent6e9ea36d92917818a56c2c5440771cb0515e4fe7 (diff)
[BUGFIX] Resolver: allow srv entry with priority 0
Diffstat (limited to 'src')
-rw-r--r--src/main/java/de/pixart/messenger/utils/Resolver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/Resolver.java b/src/main/java/de/pixart/messenger/utils/Resolver.java
index 464b17ddd..ff2dce039 100644
--- a/src/main/java/de/pixart/messenger/utils/Resolver.java
+++ b/src/main/java/de/pixart/messenger/utils/Resolver.java
@@ -178,7 +178,7 @@ public class Resolver {
final List<Result> results = new ArrayList<>();
final List<Thread> threads = new ArrayList<>();
for (SRV record : result.getAnswersOrEmptySet()) {
- if (record.name.length() == 0 && record.priority == 0) {
+ if (record.name.length() == 0) {
continue;
}
threads.add(new Thread(() -> {