Hi Edouard, Tim, > Tim Woodall ([EMAIL PROTECTED]) wrote: > > Wouldn't > > num_bytes_read -= nb_cells * ATM_CELL_TOTAL_SIZE; > > num_bytes_new = num_bytes_read; > > be better? > > Yes it would be better, so much better that i've never commited > something else than this piece of code :-)
I noticed this, and indeed the code is probably more obvious this way. The essence is that you don't have to calculate nb_cells * ATM_CELL_TOTAL_SIZE twice. The double assignment was just some showoff geekery ;-) . Bye, Leonard. -- How clean is a war when you shoot around nukelar waste? Stop the use of depleted uranium ammo! End all weapons of mass destruction. Liste de diffusion modem ALCATEL SpeedTouch USB Pour se d�sinscrire : mailto:[EMAIL PROTECTED]
