Fix missing newlines on persistent start time; fix typos.

This commit is contained in:
counterpoint 2015-06-23 15:45:10 +01:00
parent 09fdb0a2c2
commit dfbb42ead9
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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);
}
}