make code clearer and more robust (from Klocwork)

--HG--
extra : convert_revision : 397b243ca9ec623ded7b5b93e115dc460527acca
This commit is contained in:
Matt Johnston 2006-11-02 14:55:17 +00:00
parent ee6f01918c
commit 20fb9ea351

View File

@ -100,7 +100,7 @@ static void sesssigchild_handler(int UNUSED(dummy)) {
/* If the pid wasn't matched, then we might have hit the race mentioned /* If the pid wasn't matched, then we might have hit the race mentioned
* above. So we just store the info for the parent to deal with */ * above. So we just store the info for the parent to deal with */
if (i == svr_ses.childpidsize) { if (exit == NULL) {
exit = &svr_ses.lastexit; exit = &svr_ses.lastexit;
} }