On Wed, 12 May 2010, Mathieu Bouchard wrote:

 buf = resizebytes(buf, bufsize+1, bufsize);

indeed, oldsize comes before, not after, so,

  buf = resizebytes(buf, bufsize, bufsize+1);

as Hans said.

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to