Skip to content

Commit

Permalink
Comments cleanup and function name fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 authored Mar 13, 2024
1 parent 607f66a commit 53baaee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/network/net_modem.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ static modem_t *instance;
#define MREG_DTR_DELAY 25

static void modem_do_command(modem_t* modem);
static void modem_answer_incoming_call(modem_t* modem);
static void modem_accept_incoming_call(modem_t* modem);

extern ssize_t local_getline(char **buf, size_t *bufsiz, FILE *fp);

Expand Down Expand Up @@ -559,7 +559,6 @@ modem_reset(modem_t* modem)
void
modem_dial(modem_t* modem, const char* str)
{
/* TODO: Port TCP/IP support from DOSBox. */
modem->tcpIpConnCounter = 0;
modem->tcpIpMode = false;
if (!strncmp(str, "0.0.0.0", sizeof("0.0.0.0") - 1))
Expand Down Expand Up @@ -827,7 +826,7 @@ modem_do_command(modem_t* modem)
modem_send_res(modem, ResERROR);
return;
}
modem_answer_incoming_call(modem);
modem_accept_incoming_call(modem);
break;
}
return;
Expand Down

0 comments on commit 53baaee

Please sign in to comment.