On Tue, Jun 26, 2012 at 11:28:43PM +0800, Yunkai Zhang wrote: > + static int leaved; s/leaved/left/ Otherwise this looks fine to me.