From b1edb832c595a433281e37285108af6cd4a6faa0 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Thu, 30 Dec 2004 13:53:03 +0000 Subject: [PATCH] HPPA also needed other memcpy --- mbsebbs/input.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mbsebbs/input.c b/mbsebbs/input.c index 411cb3db..bf7f0339 100644 --- a/mbsebbs/input.c +++ b/mbsebbs/input.c @@ -53,11 +53,11 @@ int Waitchar(unsigned char *ch, int wtime) // Syslog('t', "Waitchar(): after GETCHAR() tty_status = %d, rc = %d", tty_status, rc); if (tty_status == STAT_SUCCESS) { // Syslog('t', "Waitchar(): return %d", rc); -#ifdef __NetBSD__ +// #ifdef __NetBSD__ *ch = (unsigned char)rc; -#else - memcpy(ch, &rc, sizeof(unsigned char)); -#endif +// #else +// memcpy(ch, &rc, sizeof(unsigned char)); +// #endif return 1; } if (tty_status != STAT_TIMEOUT) {