From dfbb42ead91ddffcba281f6e17a261b75343e344 Mon Sep 17 00:00:00 2001 From: counterpoint Date: Tue, 23 Jun 2015 15:45:10 +0100 Subject: [PATCH] Fix missing newlines on persistent start time; fix typos. --- client/maxadmin.c | 4 ++-- server/core/dcb.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/maxadmin.c b/client/maxadmin.c index d0be6bd8a..5f786ad51 100644 --- a/client/maxadmin.c +++ b/client/maxadmin.c @@ -433,10 +433,10 @@ char buf[20]; } /** - * Send a comamnd using the MaxScaled protocol, display the return data + * Send a command using the MaxScaled protocol, display the return data * on standard output. * - * Input terminates with a lien containing just the text OK + * Input terminates with a line containing just the text OK * * @param so The socket connect to MaxScale * @param cmd The command to send diff --git a/server/core/dcb.c b/server/core/dcb.c index d85a48939..0a356479e 100644 --- a/server/core/dcb.c +++ b/server/core/dcb.c @@ -2219,7 +2219,7 @@ dprintOneDCB(DCB *pdcb, DCB *dcb) struct tm * timeinfo; timeinfo = localtime (&dcb->persistentstart); strftime(buff, sizeof(buff), "%b %d %H:%M:%S", timeinfo); - dcb_printf(pdcb, "\t\tAdded to persistent pool: %s", buff); + dcb_printf(pdcb, "\t\tAdded to persistent pool: %s\n", buff); } } /** @@ -2393,7 +2393,7 @@ dprintDCB(DCB *pdcb, DCB *dcb) struct tm * timeinfo; timeinfo = localtime (&dcb->persistentstart); strftime(buff, sizeof(buff), "%b %d %H:%M:%S", timeinfo); - dcb_printf(pdcb, "\t\tAdded to persistent pool: %s", buff); + dcb_printf(pdcb, "\t\tAdded to persistent pool: %s\n", buff); } }