Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:16.0:FactoryCandidates
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
Index: rfb-0.6.1/x0rfbserver/x0rfbserver.cc =================================================================== --- rfb-0.6.1.orig/x0rfbserver/x0rfbserver.cc +++ rfb-0.6.1/x0rfbserver/x0rfbserver.cc @@ -485,7 +485,7 @@ int OXServerMainFrame::HandleFileEvent( 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)); Index: rfb-0.6.1/xrfbviewer/OXViewerApplet.cc =================================================================== --- rfb-0.6.1.orig/xrfbviewer/OXViewerApplet.cc +++ rfb-0.6.1/xrfbviewer/OXViewerApplet.cc @@ -197,7 +197,7 @@ int OXViewerApplet::HandleFileEvent( OFi 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