Fix missing newlines on persistent start time; fix typos.
This commit is contained in:
parent
09fdb0a2c2
commit
dfbb42ead9
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user