Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbrinkhoff committed Jan 7, 2025
1 parent f993e1b commit 0079b76
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/ncp.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ static int process_rts (uint8_t source, uint8_t *data)
rsock = sock (&data[0]);
lsock = sock (&data[4]);

fprintf (stderr, "NCP: Recieved RTS %u:%u from %03o.\n",
fprintf (stderr, "NCP: Received RTS %u:%u from %03o.\n",
lsock, rsock, source);

if (data[8] < LINK_MIN || data[8] > LINK_MAX) {
Expand Down Expand Up @@ -494,7 +494,7 @@ static int process_str (uint8_t source, uint8_t *data)
rsock = sock (&data[0]);
lsock = sock (&data[4]);

fprintf (stderr, "NCP: Recieved STR %u:%u from %03o.\n",
fprintf (stderr, "NCP: Received STR %u:%u from %03o.\n",
lsock, rsock, source);

if (data[8] < LINK_MIN || data[8] > LINK_MAX) {
Expand Down Expand Up @@ -579,7 +579,7 @@ static int process_cls (uint8_t source, uint8_t *data)
static int process_all (uint8_t source, uint8_t *data)
{
int i;
fprintf (stderr, "NCP: Recieved ALL from %03o, link %u.\n",
fprintf (stderr, "NCP: Received ALL from %03o, link %u.\n",
source, data[0]);
i = find_link (source, data[0]);
if (i == -1)
Expand All @@ -590,7 +590,7 @@ static int process_all (uint8_t source, uint8_t *data)
static int process_gvb (uint8_t source, uint8_t *data)
{
int i;
fprintf (stderr, "NCP: Recieved GBV from %03o, link %u.",
fprintf (stderr, "NCP: Received GBV from %03o, link %u.",
source, data[0]);
i = find_link (source, data[0]);
if (i == -1)
Expand All @@ -601,7 +601,7 @@ static int process_gvb (uint8_t source, uint8_t *data)
static int process_ret (uint8_t source, uint8_t *data)
{
int i;
fprintf (stderr, "NCP: Recieved RET from %03o, link %u.",
fprintf (stderr, "NCP: Received RET from %03o, link %u.",
source, data[0]);
i = find_link (source, data[0]);
if (i == -1)
Expand All @@ -612,7 +612,7 @@ static int process_ret (uint8_t source, uint8_t *data)
static int process_inr (uint8_t source, uint8_t *data)
{
int i;
fprintf (stderr, "NCP: Recieved INR from %03o, link %u.",
fprintf (stderr, "NCP: Received INR from %03o, link %u.",
source, data[0]);
i = find_link (source, data[0]);
if (i == -1)
Expand All @@ -623,7 +623,7 @@ static int process_inr (uint8_t source, uint8_t *data)
static int process_ins (uint8_t source, uint8_t *data)
{
int i;
fprintf (stderr, "NCP: Recieved INS from %03o, link %u.",
fprintf (stderr, "NCP: Received INS from %03o, link %u.",
source, data[0]);
i = find_link (source, data[0]);
if (i == -1)
Expand Down

0 comments on commit 0079b76

Please sign in to comment.