Skip to content

Commit

Permalink
Update QuakeClient.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bit4woo committed Oct 29, 2024
1 parent db07a11 commit 9613ac0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/InternetSearch/Client/QuakeClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ public List<SearchResultEntry> parseResp(String respbody) {
} else {
try {
//IP的搜索结果可能没有这个字段
entry.setRootDomain(entryitem.getString("domain"));
entry.setHost(entryitem.getString("domain"));
} catch (Exception e1) {
entry.setRootDomain(entryitem.getString("hostname"));
entry.setHost(entryitem.getString("hostname"));
}
}

Expand Down

0 comments on commit 9613ac0

Please sign in to comment.