/*
* This prepare the data update message on the stick session <ts>, <st> is the considered
* stick table.
- * <msg> is a buffer of <size> to recieve data message content
+ * <msg> is a buffer of <size> to receive data message content
* If function returns 0, the caller should consider we were unable to encode this message (TODO:
* check size)
*/
/*
* This prepare the switch table message to targeted share table <st>.
- * <msg> is a buffer of <size> to recieve data message content
+ * <msg> is a buffer of <size> to receive data message content
* If function returns 0, the caller should consider we were unable to encode this message (TODO:
* check size)
*/
/*
* This prepare the acknowledge message on the stick session <ts>, <st> is the considered
* stick table.
- * <msg> is a buffer of <size> to recieve data message content
+ * <msg> is a buffer of <size> to receive data message content
* If function returns 0, the caller should consider we were unable to encode this message (TODO:
* check size)
*/
unsigned int maj_ver, min_ver;
int prev_state;
- /* Check if the input buffer is avalaible. */
+ /* Check if the input buffer is available. */
if (si_ic(si)->buf.size == 0)
goto full;
else {
/* soft stop case */
if (state & TASK_WOKEN_SIGNAL) {
- /* We've just recieved the signal */
+ /* We've just received the signal */
if (!(peers->flags & PEERS_F_DONOTSTOP)) {
/* add DO NOT STOP flag if not present */
HA_ATOMIC_ADD(&jobs, 1);