mirror of
https://github.com/simh/simh.git
synced 2026-02-10 18:21:15 +00:00
Compiler suggested cleanup
This commit is contained in:
@@ -804,8 +804,8 @@ if (mp->master) {
|
|||||||
lp->ipad = address; /* ip address */
|
lp->ipad = address; /* ip address */
|
||||||
lp->notelnet = mp->notelnet; /* apply mux default telnet setting */
|
lp->notelnet = mp->notelnet; /* apply mux default telnet setting */
|
||||||
if (!lp->notelnet) {
|
if (!lp->notelnet) {
|
||||||
sim_write_sock (newsock, mantra, sizeof(mantra));
|
sim_write_sock (newsock, (char *)mantra, sizeof(mantra));
|
||||||
tmxr_debug (TMXR_DBG_XMT, lp, "Sending", mantra, sizeof(mantra));
|
tmxr_debug (TMXR_DBG_XMT, lp, "Sending", (char *)mantra, sizeof(mantra));
|
||||||
}
|
}
|
||||||
tmxr_report_connection (mp, lp);
|
tmxr_report_connection (mp, lp);
|
||||||
lp->cnms = sim_os_msec (); /* time of connection */
|
lp->cnms = sim_os_msec (); /* time of connection */
|
||||||
@@ -868,8 +868,8 @@ for (i = 0; i < mp->lines; i++) { /* check each line in se
|
|||||||
lp->sock = newsock; /* save socket */
|
lp->sock = newsock; /* save socket */
|
||||||
lp->ipad = address; /* ip address */
|
lp->ipad = address; /* ip address */
|
||||||
if (!lp->notelnet) {
|
if (!lp->notelnet) {
|
||||||
sim_write_sock (newsock, mantra, sizeof(mantra));
|
sim_write_sock (newsock, (char *)mantra, sizeof(mantra));
|
||||||
tmxr_debug (TMXR_DBG_XMT, lp, "Sending", mantra, sizeof(mantra));
|
tmxr_debug (TMXR_DBG_XMT, lp, "Sending", (char *)mantra, sizeof(mantra));
|
||||||
}
|
}
|
||||||
tmxr_report_connection (mp, lp);
|
tmxr_report_connection (mp, lp);
|
||||||
lp->cnms = sim_os_msec (); /* time of connection */
|
lp->cnms = sim_os_msec (); /* time of connection */
|
||||||
|
|||||||
Reference in New Issue
Block a user