r4935: fixed a bug where "c->status = xxx_handler(x);" could write to c after