Skip to content

Commit

Permalink
announces: add query tld to output
Browse files Browse the repository at this point in the history
This is meant to make it easier for users
to see that these can be used as a domain.
  • Loading branch information
mwarning committed Jan 6, 2025
1 parent b7661e6 commit 0e63fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/announces.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void announces_print(FILE *fp)

fprintf(fp, "Announcements:\n");
while (value) {
fprintf(fp, " query: %s\n", value->query);
fprintf(fp, " query: %s.%s\n", value->query, gconf->query_tld);
fprintf(fp, " id: %s\n", str_id(value->id));
fprintf(fp, " port: %d\n", value->port);
if (value->refresh < now) {
Expand Down

0 comments on commit 0e63fbb

Please sign in to comment.