Update common/common.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
89ab37a261
commit
be561a7ffd
1 changed files with 1 additions and 1 deletions
|
@ -1679,7 +1679,7 @@ struct llama_model *llama_load_model_from_url(const char *model_url, const char
|
|||
strncat(last_modified_path, ".lastModified", 15);
|
||||
|
||||
if (file_exists) {
|
||||
auto *f_etag = fopen(etag_path, "r");
|
||||
auto * f_etag = fopen(etag_path, "r");
|
||||
if (f_etag) {
|
||||
fgets(etag, sizeof(etag), f_etag);
|
||||
fclose(f_etag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue