- workaround for infinite echo loop sea <-> sics
- ".CurrentValue" removed in evcontroller.c
This commit is contained in:
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