From 4b510bc68272fb293468f6bfc3a4e3670d1d33a1 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Mon, 25 Feb 2019 14:23:36 -0700 Subject: [PATCH] cleaned up timeout log messsage --- QnetGateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QnetGateway.cpp b/QnetGateway.cpp index 544ff7b..951ea0f 100644 --- a/QnetGateway.cpp +++ b/QnetGateway.cpp @@ -723,7 +723,7 @@ void CQnetGateway::ProcessTimeouts() if (to_remote_g2[i].toDst4.sin_addr.s_addr != 0) { time(&t_now); if ((t_now - to_remote_g2[i].last_time) > TIMING_TIMEOUT_LOCAL_RPTR) { - printf("Inactivity from local rptr mod %d, removing stream id %04x\n", i, to_remote_g2[i].streamid); + printf("Inactivity from local rptr mod %c, removing stream id %04x\n", 'A'+i, ntohs(to_remote_g2[i].streamid)); memset(&(to_remote_g2[i].toDst4),0,sizeof(struct sockaddr_in)); to_remote_g2[i].streamid = 0;