- added error message when parameter was not found

This commit is contained in:
zolliker
2008-06-13 11:11:15 +00:00
parent 760b2dfb4c
commit 657afffe9c

View File

@ -239,6 +239,7 @@ int InvokeSICSOBJ(SConnection *pCon, SicsInterp *pSics, void *pData,
if(strcmp(argv[1],"makescriptfunc") == 0) { if(strcmp(argv[1],"makescriptfunc") == 0) {
return MakeScriptFunc(self,pCon,argc,argv); return MakeScriptFunc(self,pCon,argc,argv);
} }
SCPrintf(pCon, eError, "ERROR: %s %s not found", argv[0], argv[1]);
} }
return status; return status;