Skip to content
Snippets Groups Projects
Commit 995c0cf8 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix printf format typo in previous commit

This should fix issue #509
parent f62d7e0a
Branches
Tags
No related merge requests found
......@@ -948,7 +948,7 @@ void input_thread(void* arg)
continue;
}
if(com_debug)
lprintf(LOG_DEBUG, "Received char from COM port (%s): 0x%02h (%d)", com_dev, ch, ch);
lprintf(LOG_DEBUG, "Received char from COM port (%s): 0x%02x (%d)", com_dev, ch, ch);
if(telnet && ch==TELNET_IAC)
sendsocket(sock, &ch, sizeof(ch)); /* escape Telnet IAC char (255) when in telnet mode */
sendsocket(sock, &ch, sizeof(ch));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment