diff --git a/terminal.c b/terminal.c index 090ce359..a65d7157 100644 --- a/terminal.c +++ b/terminal.c @@ -1000,7 +1000,7 @@ void term_out(void) * debugging and possibly also useful for actual logging. */ if (cfg.logtype == LGTYP_DEBUG) - logtraffic((unsigned char) &c, LGTYP_DEBUG); + logtraffic((unsigned char) c, LGTYP_DEBUG); } else { c = unget; unget = -1;