[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [PATCH] Trivial changes in HSTS
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] [PATCH] Trivial changes in HSTS |
Date: |
Thu, 07 Apr 2016 11:36:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hi Juaristi,
"Juaristi Álamos, Ander" <address@hidden> writes:
> - if (file_exists_p (filename))
> + if (file_exists_p (filename) && hsts_file_access_valid (filename))
can the file_exists_p check just be moved to hsts_file_access_valid that
doesn't return an error on ENOENT? In other words, just have here:
if (hsts_file_access_valid (filename))
Thanks,
Giuseppe