On 04/28/2011 02:16 PM, Stefan Weil wrote:
What about using buf instead of packet (no need for extensions, reduces code by 4 lines)?
Uh, you're right!... I was assuming some side effect later, but after the refactoring this is indeed the only place where packet is used in the function, and it could use buf.
Paolo