diff options
-rw-r--r-- | networking/httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index 19cc08fcb..7684ca4e7 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -1827,7 +1827,7 @@ static NOINLINE void send_file_and_exit(const char *url, int what) | |||
1827 | } | 1827 | } |
1828 | #if ENABLE_FEATURE_HTTPD_ETAG | 1828 | #if ENABLE_FEATURE_HTTPD_ETAG |
1829 | /* ETag is "hex(last_mod)-hex(file_size)" e.g. "5e132e20-417" */ | 1829 | /* ETag is "hex(last_mod)-hex(file_size)" e.g. "5e132e20-417" */ |
1830 | sprintf(G.etag, "\"%llx-%llx\"", (unsigned long long)last_mod, (unsigned long long)file_size); | 1830 | sprintf(G.etag, "\"%"LL_FMT"x-%"LL_FMT"x\"", (unsigned long long)last_mod, (unsigned long long)file_size); |
1831 | 1831 | ||
1832 | if (G.if_none_match) { | 1832 | if (G.if_none_match) { |
1833 | if (DEBUG) | 1833 | if (DEBUG) |