summaryrefslogtreecommitdiff
path: root/src/test/teltest
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/teltest')
-rw-r--r--src/test/teltest/main.cpp2
-rw-r--r--src/test/teltest/telnetmonitor.cpp2
-rw-r--r--src/test/teltest/telnetmonitor.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/test/teltest/main.cpp b/src/test/teltest/main.cpp
index ce968c4..5d3ec26 100644
--- a/src/test/teltest/main.cpp
+++ b/src/test/teltest/main.cpp
@@ -10,7 +10,7 @@ int main()
10 10
11 srv.setConnectionMonitor( &telnet ); 11 srv.setConnectionMonitor( &telnet );
12 12
13 srv.startServer( 4001, 40 ); 13 srv.startServer( 4001 );
14 14
15 for(;;) 15 for(;;)
16 { 16 {
diff --git a/src/test/teltest/telnetmonitor.cpp b/src/test/teltest/telnetmonitor.cpp
index 001932f..32c2924 100644
--- a/src/test/teltest/telnetmonitor.cpp
+++ b/src/test/teltest/telnetmonitor.cpp
@@ -36,7 +36,7 @@ LinkMessage* TelnetMonitor::processIRM( LinkMessage *pMsg )
36{ 36{
37} 37}
38 38
39bool TelnetMonitor::onNewConnection( Connection *pCon ) 39bool TelnetMonitor::onNewConnection( Connection *pCon, int nPort )
40{ 40{
41 ProtocolTelnet *pt = new ProtocolTelnet(); 41 ProtocolTelnet *pt = new ProtocolTelnet();
42 pCon->setProtocol( pt ); 42 pCon->setProtocol( pt );
diff --git a/src/test/teltest/telnetmonitor.h b/src/test/teltest/telnetmonitor.h
index 95c8493..ba5761e 100644
--- a/src/test/teltest/telnetmonitor.h
+++ b/src/test/teltest/telnetmonitor.h
@@ -16,7 +16,7 @@ public:
16 bool timeSlice(); 16 bool timeSlice();
17 LinkMessage* processIRM( LinkMessage *pMsgIn ); 17 LinkMessage* processIRM( LinkMessage *pMsgIn );
18 18
19 bool onNewConnection( Connection *pCon ); 19 bool onNewConnection( Connection *pCon, int nPort );
20 bool onClosedConnection( Connection *pCon ); 20 bool onClosedConnection( Connection *pCon );
21 21
22private: 22private: