- workaround for infinite echo loop sea <-> sics
- ".CurrentValue" removed in evcontroller.c
This commit is contained in:
@ -1102,8 +1102,11 @@ static void ErrReport(pEVControl self)
|
||||
iRet = EVCGetPos(self,pCon,&fPos);
|
||||
if(iRet)
|
||||
{
|
||||
/*
|
||||
sprintf(pBueffel,"%s.%s = %g",self->pName,"CurrentValue", fPos);
|
||||
SCWrite(pCon,pBueffel,eValue);
|
||||
*/
|
||||
SCPrintf(pCon, eValue, "%s = %g", self->pName, fPos);
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
7
remob.c
7
remob.c
@ -19,6 +19,7 @@ M. Zolliker July 04
|
||||
#include "status.h"
|
||||
#include "servlog.h"
|
||||
#include "site.h"
|
||||
#include "commandlog.h"
|
||||
/*-------------------------------------------------------------------------*/
|
||||
#define INTERRUPTMODE 0
|
||||
#define ACCESSCODE 1
|
||||
@ -242,8 +243,10 @@ static int RemServerTask(void *data) {
|
||||
rc = &remserver->rc[isUser];
|
||||
if (RemRead(rc, 0) <= 0) continue;
|
||||
|
||||
/* printf("< %s\n", buf); */
|
||||
|
||||
if (strstr(rc->line, " ") == rc->line) {
|
||||
WriteToCommandLog("REMOB>", "infinite echo loop detected");
|
||||
continue;
|
||||
}
|
||||
if (isUser == 0) {
|
||||
if (RemHandle(remserver)) { /* handle drivstat messages */
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user