Fixed some comments.

This commit is contained in:
skarg
2016-07-07 00:12:47 +00:00
parent 42ec095392
commit fecbbcb0f2
+2 -2
View File
@@ -685,7 +685,7 @@ static void write_received_packet(
}
}
/* write packet to file in libpcap format */
/* read header from file in libpcap format */
static bool test_global_header(
const char *filename)
{
@@ -698,7 +698,7 @@ static bool test_global_header(
uint32_t network = 0; /* data link type - BACNET_MS_TP */
size_t count = 0;
/* create a new file. */
/* open existing file. */
pFile = fopen(filename, "rb");
if (pFile) {
count = fread(&magic_number, sizeof(magic_number), 1, pFile);