Skip to content
Snippets Groups Projects
Commit a7b7daf1 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 73a821b7
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3736 passed
......@@ -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