Merge branch 'collectd-5.8'
authorFlorian Forster <octo@collectd.org>
Tue, 5 Dec 2017 06:33:18 +0000 (07:33 +0100)
committerFlorian Forster <octo@collectd.org>
Tue, 5 Dec 2017 06:33:18 +0000 (07:33 +0100)
1  2 
src/exec.c
src/powerdns.c
src/rrdtool.c
src/table.c
src/utils_ovs.c

diff --cc src/exec.c
Simple merge
diff --cc src/powerdns.c
Simple merge
diff --cc src/rrdtool.c
Simple merge
diff --cc src/table.c
Simple merge
diff --cc src/utils_ovs.c
@@@ -757,11 -760,12 +758,11 @@@ static void ovs_db_reconnect(ovs_db_t *
      }
      if (connect(sock, rp->ai_addr, rp->ai_addrlen) < 0) {
        close(sock);
 -      sstrerror(errno, errbuff, sizeof(errbuff));
 -      OVS_DEBUG("connect(): %s [family=%d]", errbuff, rp->ai_family);
 +      OVS_DEBUG("connect(): %s [family=%d]", STRERRNO, rp->ai_family);
      } else {
        /* send notification to event thread */
-       ovs_db_event_post(pdb, OVS_DB_EVENT_CONN_ESTABLISHED);
        pdb->sock = sock;
+       ovs_db_event_post(pdb, OVS_DB_EVENT_CONN_ESTABLISHED);
        break;
      }
    }