projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
print \n for log messages while runing rrdcached in the foreground ... suggested...
[rrdtool.git]
/
src
/
rrd_client.c
diff --git
a/src/rrd_client.c
b/src/rrd_client.c
index
d292281
..
0d21283
100644
(file)
--- a/
src/rrd_client.c
+++ b/
src/rrd_client.c
@@
-73,6
+73,9
@@
static const char *get_path (const char *path, char *resolved_path) /* {{{ */
const char *ret = path;
int is_unix = 0;
+ if ((path == NULL) || (resolved_path == NULL) || (sd_path == NULL))
+ return (NULL);
+
if ((*sd_path == '/')
|| (strncmp ("unix:", sd_path, strlen ("unix:")) == 0))
is_unix = 1;