Skip to content

Commit

Permalink
Minor type fixes in ftelnetd.c
Browse files Browse the repository at this point in the history
  • Loading branch information
resingm committed Apr 22, 2021
1 parent c64c255 commit 9531082
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ftelnetd.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ error_msg(unsigned err)
}

/******************************************************************************
* Print to stderr. Right now, it's just a wrapper aroun fprintf(stderr), but
* Print to stderr. Right now, it's just a wrapper around fprintf(stderr), but
* I do it this way so I can later add different DEBUG levels.
******************************************************************************/
int ERROR_MSG(const char *fmt, ...)
Expand Down Expand Up @@ -164,7 +164,7 @@ recv_nvt_line(int fd, char *buf, int sizeof_buf, int flags, int *in_state)
unsigned char c;
int len;

/* Receivine ONE byte at a time and process it. This is rather
/* Receiving ONE byte at a time and process it. This is rather
* slow, but we don't care about speed */
len = recv(fd, (char*)&c, 1, flags);
if (len < 0) {
Expand Down

0 comments on commit 9531082

Please sign in to comment.