On 27/07/12 5:35 AM, Clément Bœsch wrote: > Well, buf is actually const within the scope of that function. > > Also, you are changing the prototype of a public API function. You're right, i just noticed a simpler way. I'll send a new patch in a moment. Regards.