diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2020-02-07 20:14:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-07 12:14:47 -0800 |
commit | ee55155912c17139a3a0ab2815f15651e63e5a9c (patch) | |
tree | 3cbaf6c35e0ac9dba8023a9db9b2979c266992d5 /libnetdata/libnetdata.c | |
parent | 57055c9ac18e70a812aec4230219e928405cbb26 (diff) |
Update `api/v1/info ` (#7862)
* update_info: New variables
This commit creates inside script and it reads them to Netdata
* update_info: API
This commit changes the web api response
* update_info: Disk space
This commit brings the disk space to info and renames the environment variables inside Netdata
* update_info: Rename variable
This commit renames the environment variable
* update_info: Rename response variable
This commit renames a response variable
* update_info: Labels
This commit creates the missing labels
* update_info: test before free
* update_info: Doc function
This commit brings docummentation to the functions to give instructions to developer
* update_info: Fix info message
This commit removes some info messages from the error.log
* update_info: Remove unecessary ifs, considering free manual
Diffstat (limited to 'libnetdata/libnetdata.c')
-rw-r--r-- | libnetdata/libnetdata.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnetdata/libnetdata.c b/libnetdata/libnetdata.c index 095c38c25e..70b656d838 100644 --- a/libnetdata/libnetdata.c +++ b/libnetdata/libnetdata.c @@ -168,6 +168,7 @@ char *strdupz(const char *s) { return t; } +// If ptr is NULL, no operation is performed. void freez(void *ptr) { free(ptr); } |