projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
load rrd_config.h before rrd_client.h since its content is expected to be present...
[rrdtool.git]
/
src
/
rrd_daemon.c
diff --git
a/src/rrd_daemon.c
b/src/rrd_daemon.c
index
81c58e1
..
0ca1818
100644
(file)
--- a/
src/rrd_daemon.c
+++ b/
src/rrd_daemon.c
@@
-2390,8
+2390,8
@@
static int open_listen_socket_network(const listen_socket_t *sock) /* {{{ */
fprintf (stderr, "rrdcached: Garbage after address: %s\n", port);
return (-1);
}
fprintf (stderr, "rrdcached: Garbage after address: %s\n", port);
return (-1);
}
- } /* if (*addr =
']
') */
- else
if (strchr (addr, '.') != NULL) /* Hostname or IPv4 */
+ } /* if (*addr =
= '[
') */
+ else
{
port = rindex(addr, ':');
if (port != NULL)
{
port = rindex(addr, ':');
if (port != NULL)