ctdb:tcp: add missing spaces in debug message in ctdb_tcp_node_connect()
authorMichael Adam <obnox@samba.org>
Thu, 26 May 2016 11:40:38 +0000 (13:40 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 31 May 2016 22:57:32 +0000 (00:57 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
ctdb/tcp/tcp_connect.c

index fbb17c8ab09d6c62284814c2c1f3745de62d750d..a56320da73690f29aacff30673c5672ee17621db 100644 (file)
@@ -145,7 +145,7 @@ void ctdb_tcp_node_connect(struct tevent_context *ev, struct tevent_timer *te,
 
        tnode->fd = socket(sock_out.sa.sa_family, SOCK_STREAM, IPPROTO_TCP);
        if (tnode->fd == -1) {
-               DEBUG(DEBUG_ERR, (__location__ "Failed to create socket\n"));
+               DEBUG(DEBUG_ERR, (__location__ " Failed to create socket\n"));
                return;
        }
        set_nonblocking(tnode->fd);
@@ -185,7 +185,7 @@ void ctdb_tcp_node_connect(struct tevent_context *ev, struct tevent_timer *te,
        }
 
        if (bind(tnode->fd, (struct sockaddr *)&sock_in, sockin_size) == -1) {
-               DEBUG(DEBUG_ERR, (__location__ "Failed to bind socket %s(%d)\n",
+               DEBUG(DEBUG_ERR, (__location__ " Failed to bind socket %s(%d)\n",
                                  strerror(errno), errno));
                close(tnode->fd);
                return;