From 8751bd0c82d5768e73af17801e8e382c15ff47d8 Mon Sep 17 00:00:00 2001 From: Pierrick Hymbert Date: Sat, 16 Mar 2024 17:46:46 +0100 Subject: [PATCH] Update common/common.cpp Co-authored-by: Georgi Gerganov --- common/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common.cpp b/common/common.cpp index 52b120dc2..3c5fa79eb 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -1785,7 +1785,7 @@ struct llama_model *llama_load_model_from_url(const char *model_url, const char // Write the new lastModified to the .etag file if (strlen(headers.last_modified) > 0) { - auto *last_modified_file = fopen(last_modified_path, "w"); + auto * last_modified_file = fopen(last_modified_path, "w"); if (last_modified_file) { fputs(headers.last_modified, last_modified_file); fclose(last_modified_file);