- split status.c into status.c and statusfile.c

- improvements for scriptcontext.c
This commit is contained in:
zolliker
2008-02-13 13:07:30 +00:00
parent 8ebd3b2772
commit 8cf738869d
13 changed files with 333 additions and 277 deletions

View File

@@ -492,6 +492,9 @@ static char *SctCall(char *command) {
}
static char *SctCallChain(SctChain *sc) {
if (sc->command[0] == '\0' || strcmp(sc->command, "0") == 0) {
return NULL; /* empty script: do nothing */
}
sct->runningChain = sc;
sct->relatedPath = sc->relatedPath;
sc->msg = NULL;