Dear Behdad, > - if (buffer == NULL) > + if (!buffer) Always wanting to learn. How does this cause a divide by zero? Or what led you to make the change? TIA, Martin