Skip to content
Snippets Groups Projects
Commit 4255a180 authored by deuce's avatar deuce
Browse files

Don't use unintialized speed.

parent 8082c131
No related branches found
No related tags found
No related merge requests found
......@@ -1189,7 +1189,9 @@ BOOL doterm(struct bbslist *bbs)
int emulation=CTERM_EMULATION_ANSI_BBS;
size_t remain;
if(bps->conn_type != CONN_TYPE_SERIAL)
if(bps->conn_type == CONN_TYPE_SERIAL)
speed = 0;
else
speed = bbs->bpsrate;
log_level = bbs->xfer_loglevel;
conn_api.log_level = bbs->telnet_loglevel;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment