Rafael Zalamena wrote: > On Mon, Aug 17, 2015 at 01:00:26PM -0300, Vinicios Barros wrote: > > Hello all, > > > > I would like to suggest these changes to remove unused variables > > and a respectively unnecessary call of the gettimeofday, also removes > > a casting in the malloc, that seems to be unnecessary. > > > > I improved your diff a little bit to clean up more things. > * Kill some unused includes; > * Call poll() with time parameter direcly instead of doing some > mathematical operations; > * Kill commented fflush() code; > > I'll leave the malloc() bit to another diff, since it might be better and > safer to replace it with a calloc(). > > Btw your diff wouldn't apply because your mail client fucked the spaces up. > > any oks?
ok