On Thu, 2002-09-05 at 03:45, PsychoTekk .de wrote:
> hi all!
> man i can't believe i got cvs to work, then
> finally got to compile squidnt and now
> i even got this function to work :)
>
> http://www.psychotekk.de/extern/errorpage.diff
>
> might not be very elegant but it works
We're getting there.
I suggest you change the prototype of errorDump to
static int
errorDump(ErrorState * err, memBuf *mb);
Then eliminate the locally scoped mb from errorDump, along with the
memBufReset at the top,
and everything from if (!p){p=mb.buf} to the end of the function.
Then inoke errorDump as:
errorDump (err, &mb);
Cheers,
Rob
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:26 MST