Skip to content
Snippets Groups Projects
Commit 4da7b819 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed some bugs detected by the stricter types.

Rev: lib/modules/Protocols.pmod/TELNET.pmod:1.35
parent 60772e7a
No related branches found
No related tags found
No related merge requests found
// //
// $Id: TELNET.pmod,v 1.34 2008/12/09 18:19:46 grubba Exp $ // $Id: TELNET.pmod,v 1.35 2008/12/09 18:40:27 grubba Exp $
// //
// The TELNET protocol as described by RFC 764 and others. // The TELNET protocol as described by RFC 764 and others.
// //
...@@ -1147,7 +1147,7 @@ static class Low_Readline ...@@ -1147,7 +1147,7 @@ static class Low_Readline
} }
} }
protected void readline_close_callback(string data) protected int readline_close_callback()
{ {
close_cb2(id); close_cb2(id);
} }
...@@ -1194,7 +1194,7 @@ static class Low_Readline ...@@ -1194,7 +1194,7 @@ static class Low_Readline
case TELOPT_NAWS: case TELOPT_NAWS:
if(sscanf(data[1..],"%2c%2c",width,height)==2) if(sscanf(data[1..],"%2c%2c",width,height)==2)
if(readline) if(readline)
readline->redisplay(); readline->redisplay(0);
break; break;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment