add "does not understand" message

r1617 | dcl | 2007-03-08 18:27:01 +1100 (Thu, 08 Mar 2007) | 2 lines
This commit is contained in:
Douglas Clowes
2007-03-08 18:27:01 +11:00
parent 6000e99080
commit 072095fa07

View File

@@ -343,8 +343,9 @@ int MultiChanAction(SConnection *pCon, SicsInterp *pSics,
} }
return OKOK; return OKOK;
} }
/* TODO: handle private stuff */ snprintf(line, 132, "%s does not understand %s", argv[0], argv[1]);
return RS232Action(pCon, pSics, self->controller, argc, argv); SCWrite(pCon, line, eError);
return 0;
} }
static pMultiChanController MC_Create(const char* host, int port) static pMultiChanController MC_Create(const char* host, int port)