diff options
Diffstat (limited to 'web/server/web_client.c')
-rw-r--r-- | web/server/web_client.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/web/server/web_client.c b/web/server/web_client.c index fe52fda49..42406336e 100644 --- a/web/server/web_client.c +++ b/web/server/web_client.c @@ -565,11 +565,11 @@ void buffer_data_options2string(BUFFER *wb, uint32_t options) { } static inline int check_host_and_call(RRDHOST *host, struct web_client *w, char *url, int (*func)(RRDHOST *, struct web_client *, char *)) { - if(unlikely(host->rrd_memory_mode == RRD_MEMORY_MODE_NONE)) { - buffer_flush(w->response.data); - buffer_strcat(w->response.data, "This host does not maintain a database"); - return 400; - } + //if(unlikely(host->rrd_memory_mode == RRD_MEMORY_MODE_NONE)) { + // buffer_flush(w->response.data); + // buffer_strcat(w->response.data, "This host does not maintain a database"); + // return 400; + //} return func(host, w, url); } |