1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-20 15:22:01 +03:00

Add #ifdef to remove function not used if NO_CACHING is not set

This commit is contained in:
bel
2016-06-10 19:39:19 +02:00
parent 150ad4a2e7
commit e783af1fc3

View File

@@ -6755,6 +6755,7 @@ handle_static_file_request(struct mg_connection *conn,
}
#if !defined(NO_CACHING)
static void
handle_not_modified_static_file_request(struct mg_connection *conn,
struct file *filep)
@@ -6786,6 +6787,7 @@ handle_not_modified_static_file_request(struct mg_connection *conn,
etag,
suggest_connection_header(conn));
}
#endif
void