From fca4e6870b3c3759265b8ee44726a0c85ed74c31 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 26 Apr 2014 12:33:10 +0200 Subject: [PATCH] rrd_daemon: Fixed the resolved_path argument passed to realpath(). The function expects a character pointer, not a pointer to an array of character pointers. --- src/rrd_daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c index 0d31fac4..8e46558c 100644 --- a/src/rrd_daemon.c +++ b/src/rrd_daemon.c @@ -1903,7 +1903,7 @@ static int handle_request_last (HANDLER_PROTO) /* {{{ */ static int handle_request_create (HANDLER_PROTO) /* {{{ */ { char *file, file_tmp[PATH_MAX]; - char *file_copy, *dir, *dir_tmp[PATH_MAX]; + char *file_copy, *dir, dir_tmp[PATH_MAX]; char *tok; int ac = 0; char *av[128]; -- 2.47.2