Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
armagetron
armagetron-fix-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File armagetron-fix-build.patch of Package armagetron
Index: armagetronad-0.2.8.3.3/src/network/nNetObject.cpp =================================================================== --- armagetronad-0.2.8.3.3.orig/src/network/nNetObject.cpp +++ armagetronad-0.2.8.3.3/src/network/nNetObject.cpp @@ -1530,7 +1530,7 @@ void nNetObject::SyncAll(){ // con << sn_SyncRequestedObject.Len() << "/" << sn_netObjects.Len() << "\n"; int currentSync = sn_SyncRequestedObject.Len()-1; - while(sn_Connections[user].socket>0 && + while(sn_Connections[user].socket && sn_Connections[user].bandwidthControl_.CanSend() && sn_Connections[user].ackPending<sn_maxNoAck && currentSync >= 0){ Index: armagetronad-0.2.8.3.3/src/tools/tResourceManager.cpp =================================================================== --- armagetronad-0.2.8.3.3.orig/src/tools/tResourceManager.cpp +++ armagetronad-0.2.8.3.3/src/tools/tResourceManager.cpp @@ -44,7 +44,7 @@ static int myHTTPFetch(const char *URI, } fd = fopen(savepath, "w"); - if (fd < 0) { + if (fd == NULL) { xmlNanoHTTPClose(ctxt); con << tOutput( "$resource_no_write", savepath ); return 3;
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