From cde1c7998e471b28149feaca3c76e28b830efb51 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Mon, 11 Mar 2019 15:43:49 -0700 Subject: [PATCH] inactive count declared static --- QnetDVAP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QnetDVAP.cpp b/QnetDVAP.cpp index d7dd002..fa892e9 100644 --- a/QnetDVAP.cpp +++ b/QnetDVAP.cpp @@ -266,10 +266,10 @@ static int open_sock() static void ReadFromGateway() { static unsigned short streamid = 0U; + static int inactive = 0; int len = 0; fd_set readfd; struct timeval tv; - int inactive = 0; short seq_no = 0; unsigned char sync_codes[3] = {0x55, 0x2d, 0x16}; SDSVT dsvt;