Correct HSTS database file description

* src/hsts.c (hsts_store_dump): s/[:port]/<port>/
This commit is contained in:
Ander Juaristi 2016-04-06 13:13:52 +02:00 committed by Tim Rühsen
parent 99fc712f21
commit 33d860e1ef

View File

@ -316,7 +316,7 @@ hsts_store_dump (hsts_store_t store, FILE *fp)
/* Print preliminary comments. We don't care if any of these fail. */
fputs ("# HSTS 1.0 Known Hosts database for GNU Wget.\n", fp);
fputs ("# Edit at your own risk.\n", fp);
fputs ("# <hostname>[:<port>]\t<incl. subdomains>\t<created>\t<max-age>\n", fp);
fputs ("# <hostname>\t<port>\t<incl. subdomains>\t<created>\t<max-age>\n", fp);
/* Now cycle through the HSTS store in memory and dump the entries */
for (hash_table_iterate (store->table, &it); hash_table_iter_next (&it);)