Skip to content
Snippets Groups Projects
Commit 58ef4aba authored by rswindell's avatar rswindell
Browse files

Initialize the timeleft value to 10 minutes. Just incase it's being used

prior to a call to gettimeleft(). PR:38
parent 31fb991d
No related branches found
No related tags found
No related merge requests found
......@@ -1269,14 +1269,15 @@ void input_thread(void *arg)
break;
}
/* \______ ______/
* \ 0 \ / 0 /
/* ^ ^
* \______ ______/
* \ * \ / * /
* ----- ------ /----\
* || -< Boo! |
* /_\ \----/
* \_______________/
* \/\/\/\/\/\/\//
* -------------
* \______________/
* \/\/\/\/\/\/\/
* ------------
*/
if(FD_ISSET(sbbs->client_socket,&socket_set))
......@@ -2274,6 +2275,7 @@ sbbs_t::sbbs_t(ushort node_num, DWORD addr, char* name, SOCKET sd,
errorlog_inside = false;
errormsg_inside = false;
gettimeleft_inside = false;
timeleft = 60*10; /* just incase this is being used for calling gettimeleft() */
uselect_total = 0;
lbuflen = 0;
connection="Telnet";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment