From 9e5a0309b4770366ff18f5b447474aa0c16646d3 Mon Sep 17 00:00:00 2001 From: ian Date: Sat, 17 May 2008 18:38:57 +0000 Subject: [PATCH] do not recurse infinitely when die_vprintf_hook->ovprintf->die --- hostside/realtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostside/realtime.c b/hostside/realtime.c index eda9fc9..ae8c804 100644 --- a/hostside/realtime.c +++ b/hostside/realtime.c @@ -225,7 +225,7 @@ void ouhexi(const char *word, const Byte *command, int length) { } void die_vprintf_hook(const char *fmt, va_list al) { - if (events) ovprintf(UPO, fmt, al); + if (events) { events=0; ovprintf(UPO, fmt, al); } } void die_hook(void) { -- 2.30.2