Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
kde3-sim
fix-memset-call.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-memset-call.patch of Package kde3-sim
diff -wruN sim-0.9.4.3.orig/sim/sockfactory.cpp sim-0.9.4.3/sim/sockfactory.cpp --- sim-0.9.4.3.orig/sim/sockfactory.cpp 2006-01-31 23:24:25.000000000 +0300 +++ sim-0.9.4.3/sim/sockfactory.cpp 2011-09-20 03:25:08.076723592 +0400 @@ -340,7 +340,7 @@ unsigned long res = 0; int s = sock->socket(); struct sockaddr_in addr; - memset(&addr, sizeof(addr), 0); + memset(&addr, 0, sizeof(addr)); socklen_t size = sizeof(addr); if (getsockname(s, (struct sockaddr*)&addr, &size) >= 0) res = addr.sin_addr.s_addr;
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