Skip to content
Snippets Groups Projects
Commit 5b0e5c8c authored by rswindell's avatar rswindell
Browse files

Fix Telnet log output (log level was always 0).

parent 79912047
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include "telnet_io.h" #include "telnet_io.h"
SOCKET telnet_sock=INVALID_SOCKET; SOCKET telnet_sock=INVALID_SOCKET;
extern int telnet_log_level;
#ifdef __BORLANDC__ #ifdef __BORLANDC__
#pragma argsused #pragma argsused
...@@ -126,6 +127,8 @@ int telnet_connect(struct bbslist *bbs) ...@@ -126,6 +127,8 @@ int telnet_connect(struct bbslist *bbs)
{ {
init_uifc(TRUE, TRUE); init_uifc(TRUE, TRUE);
telnet_log_level = bbs->telnet_loglevel;
telnet_sock=conn_socket_connect(bbs); telnet_sock=conn_socket_connect(bbs);
if(telnet_sock==INVALID_SOCKET) if(telnet_sock==INVALID_SOCKET)
return(-1); return(-1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment