summaryrefslogtreecommitdiff
path: root/src/logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logging.c')
-rw-r--r--src/logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.c b/src/logging.c
index 650ce9e..4683fd7 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -204,7 +204,7 @@ checklogtarget(llnodeT* target)
case 2: {
if ((*ptr) == ',') {
tab[i] = 0;
- if (ip_connect(&tmpfd, desc, tab, 1)) {
+ if (ip_connect(&tmpfd, desc, tab, 1, NULL, NULL)) {
return 5; /* can't connect to host:port */
}
target->logfd = fdopen(tmpfd, "a");