made code proper to avoid warning/fixed some small potential bugs
This commit is contained in:
2
exeman.c
2
exeman.c
@ -540,6 +540,7 @@ static int infoHandler(pExeMan self, SConnection *pCon,
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
return 1; /* statement inserted, guessed return value M.Z. */
|
||||
} else {
|
||||
strtolower(argv[2]);
|
||||
if(strcmp(argv[2],"stack") == 0){
|
||||
@ -553,6 +554,7 @@ static int infoHandler(pExeMan self, SConnection *pCon,
|
||||
return 1;
|
||||
} else {
|
||||
SCWrite(pCon,"ERROR: subcommand to info unknown",eError);
|
||||
return 0; /* statement inserted, guessed return value M.Z. */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user