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;
}
/* TODO: handle private stuff */
return RS232Action(pCon, pSics, self->controller, argc, argv);
snprintf(line, 132, "%s does not understand %s", argv[0], argv[1]);
SCWrite(pCon, line, eError);
return 0;
}
static pMultiChanController MC_Create(const char* host, int port)