diff options
Diffstat (limited to 'VNFs')
-rw-r--r-- | VNFs/DPPD-PROX/parse_utils.c | 2 | ||||
-rw-r--r-- | VNFs/DPPD-PROX/prox_args.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/VNFs/DPPD-PROX/parse_utils.c b/VNFs/DPPD-PROX/parse_utils.c index af98ec2b..786c2141 100644 --- a/VNFs/DPPD-PROX/parse_utils.c +++ b/VNFs/DPPD-PROX/parse_utils.c @@ -175,7 +175,7 @@ int parse_vars(char *val, size_t len, const char *name) return -1; } - prox_strncpy(&cur_var[1], &name[start_var], var_len); + strncpy(&cur_var[1], &name[start_var], var_len); cur_var[1 + var_len] = 0; if (parse_single_var(parsed, sizeof(parsed), cur_var)) { return -1; diff --git a/VNFs/DPPD-PROX/prox_args.c b/VNFs/DPPD-PROX/prox_args.c index 17b3298d..a5d10a60 100644 --- a/VNFs/DPPD-PROX/prox_args.c +++ b/VNFs/DPPD-PROX/prox_args.c @@ -242,7 +242,7 @@ const char *get_cfg_dir(void) while (end > 0 && cfg_file[end] != '/') end--; - prox_strncpy(dir, cfg_file, end); + strncpy(dir, cfg_file, end); return dir; } |