-#if 0 /* old behaviour: use NOTICE */
-static void _hook_(const char *fmt1, const char *fmt2, va_list arg2, ...)
-{
- char *tag, *data, *mem1, *mem2, buf1[256], buf2[2000];
- va_list arg1;
-
- data = _pbuf_(fmt2, arg2, &mem2, buf2, sizeof buf2, NULL);
-
- va_start(arg1, arg2);
- tag = _pbuf_(fmt1, arg1, &mem1, buf1, sizeof buf1, NULL);
- va_end(arg1);
-
- NOTICE("[HOOK %s] %s", tag, data);
-
- free(mem1);
- free(mem2);
-}
-#else /* new behaviour: emits directly to stderr */