Fix telnet debug_printf