mirror of
https://github.com/mirror/wget.git
synced 2025-02-24 10:41:01 +08:00
Correct HSTS database file description
* src/hsts.c (hsts_store_dump): s/[:port]/<port>/
This commit is contained in:
parent
99fc712f21
commit
33d860e1ef
@ -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. */
|
/* 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 ("# HSTS 1.0 Known Hosts database for GNU Wget.\n", fp);
|
||||||
fputs ("# Edit at your own risk.\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 */
|
/* Now cycle through the HSTS store in memory and dump the entries */
|
||||||
for (hash_table_iterate (store->table, &it); hash_table_iter_next (&it);)
|
for (hash_table_iterate (store->table, &it); hash_table_iter_next (&it);)
|
||||||
|
Loading…
Reference in New Issue
Block a user