Projects
Mega:24.03:SP1:Everything
telnet
_service:tar_scm:telnet-rh678324.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:telnet-rh678324.patch of Package telnet
diff -up netkit-telnet-0.17/telnetd/telnetd.c.rh678324 netkit-telnet-0.17/telnetd/telnetd.c --- netkit-telnet-0.17/telnetd/telnetd.c.rh678324 2011-06-28 14:51:09.996726296 +0200 +++ netkit-telnet-0.17/telnetd/telnetd.c 2011-06-28 14:52:38.212726283 +0200 @@ -92,7 +92,7 @@ extern void usage(void); int main(int argc, char *argv[], char *env[]) { - struct sockaddr from; + struct sockaddr_storage from; int on = 1; socklen_t fromlen; register int ch; @@ -344,7 +344,7 @@ main(int argc, char *argv[], char *env[] openlog("telnetd", LOG_PID | LOG_ODELAY, LOG_DAEMON); fromlen = sizeof (from); - if (getpeername(s, &from, &fromlen) < 0) { + if (getpeername(s, (struct sockaddr *)&from, &fromlen) < 0) { fprintf(stderr, "%s: ", progname); perror("getpeername"); _exit(1);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2