blob: f6df7680ac291416501a4890fb04a7e99e829669 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- a/src/main.c
+++ b/src/main.c
@@ -1142,8 +1142,9 @@ static ReturnCode HandleEpochCommand(int
ShutdownMemBus(false); //We're done with membus now.
char Compare[WARNING + 1][MEMBUS_MSGSIZE] = { MEMBUS_CODE_FAILURE " ", MEMBUS_CODE_ACKNOWLEDGED " ", MEMBUS_CODE_WARNING " "};
+ int Inc;
- for (int Inc = 0; Inc < sizeof Compare / sizeof *Compare; ++Inc)
+ for (Inc = 0; Inc < sizeof Compare / sizeof *Compare; ++Inc)
{
strcat(Compare[Inc], ArgIs("merge") ? MEMBUS_CODE_CFMERGE : MEMBUS_CODE_CFUMERGE);
strcat(Compare[Inc], " ");
|