- Committing first working version of new AMOR settings module
This commit is contained in:
@ -713,6 +713,7 @@
|
||||
SConnection *pCon = NULL;
|
||||
pMonEvent pMon = NULL;
|
||||
char pBueffel[512];
|
||||
int rights;
|
||||
|
||||
if(iEvent != MONITOR)
|
||||
{
|
||||
@ -725,7 +726,13 @@
|
||||
assert(pMon);
|
||||
sprintf(pBueffel,"%s.CountStatus = %f %d",pMon->pName,pMon->fPreset,
|
||||
(int)nintf(pMon->fCurrent));
|
||||
/**
|
||||
* prevent this to be written to log files
|
||||
*/
|
||||
rights = SCGetRights(pCon);
|
||||
SCSetRights(pCon,usSpy);
|
||||
SCWrite(pCon,pBueffel,eWarning);
|
||||
SCSetRights(pCon,rights);
|
||||
return 1;
|
||||
}
|
||||
/*-----------------------------------------------------------------------*/
|
||||
|
Reference in New Issue
Block a user