From f53bfd56afad0991ed140a7ccbbe5c2060bb06fc Mon Sep 17 00:00:00 2001 From: Pierrick Hymbert Date: Sat, 16 Mar 2024 17:46:53 +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 3c5fa79eb..d1654c59a 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -1735,7 +1735,7 @@ struct llama_model *llama_load_model_from_url(const char *model_url, const char // If only the ETag or the Last-Modified header are different, trigger a new download if (strcmp(etag, headers.etag) != 0 || strcmp(last_modified, headers.last_modified) != 0) { // Set the output file - auto *outfile = fopen(path_model, "wb"); + auto * outfile = fopen(path_model, "wb"); if (!outfile) { curl_easy_cleanup(curl); curl_global_cleanup();