summaryrefslogtreecommitdiff
path: root/sysutils/screen/files/patch-telnet.c
blob: 16caef08be2f602607ce1f52e5c9fc3572e93ac6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- telnet.c.orig	2025-05-15 15:31:27 UTC
+++ telnet.c
@@ -228,7 +228,7 @@ void TelProcessLine(char **bufpp, size_t *lenp)
 	*lenp = 0;
 }
 
-int DoTelnet(char *buf, size_t *lenp, int f)
+int DoTelnet(char *buf, int *lenp, int f)
 {
 	int echo = !fore->w_telropts[TO_ECHO];
 	int cmode = fore->w_telropts[TO_SGA];