Update common/common.cpp

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
Pierrick Hymbert 2024-03-16 17:48:32 +01:00 committed by GitHub
parent 89ab37a261
commit be561a7ffd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);