[bacnet:bugs] #57 fix to increase filename buffer to avoid compile warning. Thank you, Joe Burmeister!

This commit is contained in:
skarg
2018-10-09 14:42:18 +00:00
parent 77360ad46f
commit d1f0b020f0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -450,7 +450,7 @@ uint16_t MSTP_Get_Reply(
return 0;
}
static char Capture_Filename[32] = "mstp_20090123091200.cap";
static char Capture_Filename[64] = "mstp_20090123091200.cap";
static FILE *pFile = NULL; /* stream pointer */
#if defined(_WIN32)
static HANDLE hPipe = INVALID_HANDLE_VALUE; /* pipe handle */
+1 -1
View File
@@ -63,7 +63,7 @@ static unsigned CRC_Size = 8;
/* save to capture file for viewing in Wireshark */
static bool MSTP_Cap = false;
static bool MSTP_Text_File = false;
static char Capture_Filename[32] = "mstp_20090123091200.cap";
static char Capture_Filename[64] = "mstp_20090123091200.cap";
static FILE *pFile = NULL; /* stream pointer */
static FILE *pText_File = NULL; /* stream pointer */