fixed typo (again)
Costa Tsaousis (ktsaou) committed
Feb 22, 2017 at 03:57 UTC
5f9addf32418c6b4b2a764f09940ebd5ce9edbde
1 file changed
+1
-1
src/web_client.c
+1
-1
@@ -1668,7 +1668,7 @@ int web_client_api_old_data_request(RRDHOST *host, struct web_client *w, char *u
1668
}
1669
1670
int validate_stream_api_key(const char *key) {
1671
- if(appconfig_get_number(&stream_config, key, "enabled", 0))
1671
+ if(appconfig_get_boolean(&stream_config, key, "enabled", 0))
1672
return 1;
1673
1674
return 0;