hi Henrik,
somewhere in the last 3 lines there must be a mistake,
squid compiles fine (except for the memBufClear() call which
is not defined) but as soon as errorDump() is processed
squid doesn't work properly anymore...
regards,
Clemens
+ static int
+ errorDump(ErrorState *err, MemBuf *mb)
+ {
+ request_t *r = err->request;
+ MemBuf str = MemBufNULL;
+ const char *p = NULL; /* takes priority over mb if set */
+ /* email subject line */
+ memBufPrintf(&str, "CacheErrorInfo - %s", errorPageName(err->type));
+ memBufPrintf(mb, "?subject=%s", rfc1738_escape(str.buf));
+ memBufReset(&str);
-- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signupReceived on Sat Sep 07 2002 - 03:12:15 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:27 MST