Remove lock check from command add to separate function.
r1733 | dcl | 2007-03-28 12:28:17 +1000 (Wed, 28 Mar 2007) | 2 lines
This commit is contained in:
15
costa.c
15
costa.c
@@ -112,13 +112,6 @@
|
||||
|
||||
assert(self);
|
||||
|
||||
/* check for lock */
|
||||
#if 0 /* DFC */
|
||||
if(self->iLock)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
/* check Size */
|
||||
if(self->iCount >= self->iMaxSize)
|
||||
{
|
||||
@@ -147,14 +140,6 @@
|
||||
int iRet, iRes = 1;
|
||||
assert(self);
|
||||
|
||||
/* check for lock */
|
||||
#if 0 /* DFC */
|
||||
if(self->iLock)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* do not want 0 commands */
|
||||
if(strlen(pCommand) < 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user