On 04/12/11 17:13, Kevin Wolf wrote: > Am 12.04.2011 17:03, schrieb Jes Sorensen: >> Shouldn't you verify that you don't exceed max_len in this? > > Not necessary (the buffer is always 2048 bytes), but it looks like the > max_len parameter is unused now, so it could be removed. > > Kevin
That works fine too - I just didn't like having a length and then having it ignored completely. Cheers, Jes