Skip to content

Commit 0e63fbb

Browse files
committed
announces: add query tld to output
This is meant to make it easier for users to see that these can be used as a domain.
1 parent b7661e6 commit 0e63fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/announces.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void announces_print(FILE *fp)
6060

6161
fprintf(fp, "Announcements:\n");
6262
while (value) {
63-
fprintf(fp, " query: %s\n", value->query);
63+
fprintf(fp, " query: %s.%s\n", value->query, gconf->query_tld);
6464
fprintf(fp, " id: %s\n", str_id(value->id));
6565
fprintf(fp, " port: %d\n", value->port);
6666
if (value->refresh < now) {

0 commit comments

Comments
 (0)