X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=file.go;h=e06a9bce335ccc4e4444e5f8ea9502d27df09eba;hb=0cc987b1bcb7b16da4f46d84d216df3f6ef457e1;hp=2ecab66ee85e1aeac6c4cf76c34eef3ecdefdf45;hpb=8e30fc811afc50bfdb00e366cb1ac00e186b0511;p=nsscash%2Fnsscash.git diff --git a/file.go b/file.go index 2ecab66..e06a9bc 100644 --- a/file.go +++ b/file.go @@ -89,7 +89,8 @@ func fetchFile(file *File, state *State) error { t = zero // force download } - status, body, err := fetchIfModified(file.Url, &t) + status, body, err := fetchIfModified(file.Url, + file.Username, file.Password, file.CA, &t) if err != nil { return err }