projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use long int format
[rrdtool.git]
/
src
/
rrd_client.c
diff --git
a/src/rrd_client.c
b/src/rrd_client.c
index
e3790f6
..
51b2eb8
100644
(file)
--- a/
src/rrd_client.c
+++ b/
src/rrd_client.c
@@
-653,12
+653,14
@@
int rrdc_connect (const char *addr) /* {{{ */
{
int status = 0;
- if (addr == NULL)
+ if (addr == NULL)
{
addr = getenv (ENV_RRDCACHED_ADDRESS);
+ }
- if (addr == NULL || ! strcmp(addr,""))
+ if (addr == NULL || ! strcmp(addr,""))
{
addr = NULL;
return 0;
+ }
pthread_mutex_lock(&lock);