From f22456d8c33f50da15f7c98c74189dfba1855a0b Mon Sep 17 00:00:00 2001 From: Pierrick Hymbert Date: Sat, 16 Mar 2024 17:48:02 +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 2720f9310..b93ad05e3 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -1711,7 +1711,7 @@ struct llama_model *llama_load_model_from_url(const char *model_url, const char strncpy(headers->etag, buffer + strlen(etag_prefix), n_items - strlen(etag_prefix) - 2); // Remove LRLF } - const char *last_modified_prefix = "last-modified: "; + const char * last_modified_prefix = "last-modified: "; if (strncmp(buffer, last_modified_prefix, strlen(last_modified_prefix)) == 0) { strncpy(headers->last_modified, buffer + strlen(last_modified_prefix), n_items - strlen(last_modified_prefix) - 2); // Remove LRLF