- Fixed a couple of small things with the TAS code
- Fixed new AMOR settings module - Initial implementation of the new SICS hierarchical parameter database
This commit is contained in:
14
sps.c
14
sps.c
@@ -557,7 +557,6 @@
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
#include "access.c"
|
||||
/*-------------------------------------------------------------------------*/
|
||||
int SPSAction(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[])
|
||||
@@ -755,17 +754,8 @@
|
||||
}
|
||||
/* try to convert user code */
|
||||
strtolower(argv[4]);
|
||||
iSet = -10;
|
||||
i = 0;
|
||||
while(aCode[i] != NULL)
|
||||
{
|
||||
if(strcmp(aCode[i],argv[4]) == 0)
|
||||
{
|
||||
iSet = i;
|
||||
break;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
iSet = 0;
|
||||
iSet = decodeSICSPriv(argv[4]);
|
||||
if(iSet < 0)
|
||||
{
|
||||
sprintf(pBueffel,"ERROR: %s is not valid user code",argv[4]);
|
||||
|
||||
Reference in New Issue
Block a user