First of all, this does NOT replace crlf pairs with </p><p>. Period. Second of all, there is a buffer overflow as you
. Please pass your routine
and see how it will give you a nice SEGFAULT (which you might not even see since you're ona Win98 box).