Skip to content

Commit 9613ac0

Browse files
committed
Update QuakeClient.java
1 parent db07a11 commit 9613ac0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/InternetSearch/Client/QuakeClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ public List<SearchResultEntry> parseResp(String respbody) {
7474
} else {
7575
try {
7676
//IP的搜索结果可能没有这个字段
77-
entry.setRootDomain(entryitem.getString("domain"));
77+
entry.setHost(entryitem.getString("domain"));
7878
} catch (Exception e1) {
79-
entry.setRootDomain(entryitem.getString("hostname"));
79+
entry.setHost(entryitem.getString("hostname"));
8080
}
8181
}
8282

0 commit comments

Comments
 (0)