diff options
Diffstat (limited to 'src/health/rrdvar.c')
-rw-r--r-- | src/health/rrdvar.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/health/rrdvar.c b/src/health/rrdvar.c index 75cb9739b..5d6e3cf84 100644 --- a/src/health/rrdvar.c +++ b/src/health/rrdvar.c @@ -9,20 +9,6 @@ typedef struct rrdvar { // ---------------------------------------------------------------------------- // RRDVAR management -inline int rrdvar_fix_name(char *variable) { - int fixed = 0; - while(*variable) { - if (!isalnum((uint8_t)*variable) && *variable != '.' && *variable != '_') { - *variable++ = '_'; - fixed++; - } - else - variable++; - } - - return fixed; -} - inline STRING *rrdvar_name_to_string(const char *name) { char *variable = strdupz(name); rrdvar_fix_name(variable); |