Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
rfb
rfb-0.6.1-socklen_t.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rfb-0.6.1-socklen_t.dif of Package rfb
--- x0rfbserver/x0rfbserver.cc +++ x0rfbserver/x0rfbserver.cc @@ -485,7 +485,7 @@ if ( _fh == fhSocket ) { if ( _mask & XCM_READABLE ) { struct sockaddr addr; - size_t laddr = sizeof(addr); + socklen_t laddr = sizeof(addr); int fdClient = accept(fd, &addr, &laddr); int one = 1; setsockopt(fdClient, IPPROTO_TCP, TCP_NODELAY, (char *)&one, sizeof(one)); --- xrfbviewer/OXViewerApplet.cc +++ xrfbviewer/OXViewerApplet.cc @@ -197,7 +197,7 @@ if ( _fh == fhSocket ) { std::cout << "Connection request" << std::endl; struct sockaddr addr; - size_t laddr = sizeof(addr); + socklen_t laddr = sizeof(addr); int fdClient = accept(_fh->GetFd(), &addr, &laddr); int one = 1; setsockopt(fdClient, IPPROTO_TCP, TCP_NODELAY, (char *)&one, sizeof(one));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor