CLEANUP: contrib/spoa_example: Fix several typos
This patch can be backported as far as 1.8.
diff --git a/contrib/spoa_example/spoa.c b/contrib/spoa_example/spoa.c
index 7b40e81..f32ac44 100644
--- a/contrib/spoa_example/spoa.c
+++ b/contrib/spoa_example/spoa.c
@@ -1370,7 +1370,7 @@
end = frame->buf+max_frame_size;
if (frame->ip_score != -1) {
- DEBUG(frame->worker, "Add action : set variable ip_scode=%u",
+ DEBUG(frame->worker, "Add action : set variable ip_score=%u",
frame->ip_score);
*p++ = SPOE_ACT_T_SET_VAR; /* Action type */
@@ -1419,7 +1419,7 @@
frame->len - frame->offset);
if (n <= 0) {
if (n < 0) {
- LOG(client->worker, "Frame to read frame : %m");
+ LOG(client->worker, "Failed to read frame : %m");
goto close;
}
return;
@@ -1548,7 +1548,7 @@
if (frame->offset != frame->len)
return;
- DEBUG(client->worker, "<%lu> Frame of %u bytes send",
+ DEBUG(client->worker, "<%lu> Frame of %u bytes sent",
client->id, frame->len);
switch (client->state) {