projects
/
rrdd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/{lib,}rrdc.c: Make `rrdd_connect' use the default path if path == NULL.
[rrdd.git]
/
src
/
rrdc.c
diff --git
a/src/rrdc.c
b/src/rrdc.c
index
e24c7aa
..
0177a64
100644
(file)
--- a/
src/rrdc.c
+++ b/
src/rrdc.c
@@
-52,7
+52,7
@@
int main (int argc, char **argv)
/* rrdc update <file> <value> [<value> ..] */
if ((argc >= 4) && (strcmp (argv[1], "update") == 0))
{
/* rrdc update <file> <value> [<value> ..] */
if ((argc >= 4) && (strcmp (argv[1], "update") == 0))
{
- status = rrdd_connect (
RRDD_SOCK_PATH
);
+ status = rrdd_connect (
/* path = */ NULL
);
if (status != 0)
{
fprintf (stderr, "rrdd_connect failed: %s\n",
if (status != 0)
{
fprintf (stderr, "rrdd_connect failed: %s\n",