]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: cli: Remove a leftover debug message
authorAurélien Nephtali <aurelien.nephtali@corp.ovh.com>
Sat, 10 Mar 2018 19:59:56 +0000 (20:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 12 Mar 2018 06:49:05 +0000 (07:49 +0100)
This printf() was added in f886e3478d ("MINOR: cli: Add a command to
send listening sockets.").

Signed-off-by: Aurélien Nephtali <aurelien.nephtali@corp.ovh.com>
src/cli.c

index 51efbc4458cb6be05ecbe5f0e91f2e4f19237848..5a6da3fa140859bb003616704cfce37ccb5fc242 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -1416,7 +1416,6 @@ static int _getsocks(char **args, struct appctx *appctx, void *private)
                                iov.iov_len = curoff;
                                if (sendmsg(fd, &msghdr, 0) != curoff) {
                                        ha_warning("Failed to transfer sockets\n");
-                                       printf("errno %d\n", errno);
                                        goto out;
                                }
                                /* Wait for an ack */