- Fixed a crash coming from velo.c
- Improved saving of reflection lists - The other changes are mostly whitespace
This commit is contained in:
@@ -180,8 +180,10 @@ int GetCountLock(pICountable self, SConnection * pCon)
|
||||
{
|
||||
if (self->running == 1) {
|
||||
SCWrite(pCon, "ERROR: someone else is already counting!", eError);
|
||||
/* printf("Countlock denied\n"); */
|
||||
return 0;
|
||||
} else {
|
||||
/* printf("Countlock aquired\n");*/
|
||||
self->running = 1;
|
||||
return 1;
|
||||
}
|
||||
@@ -190,6 +192,7 @@ int GetCountLock(pICountable self, SConnection * pCon)
|
||||
/*--------------------------------------------------------------------------*/
|
||||
void ReleaseCountLock(pICountable self)
|
||||
{
|
||||
/* printf("Countlock released\n"); */
|
||||
self->running = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user