another fix....

This commit is contained in:
Andrew Pamment 2018-05-23 22:09:16 +10:00
parent fc2e425582
commit bf0a86b776

View File

@ -111,7 +111,7 @@ int parse_config_file(char *filename) {
mynode = atoi(bufferw); mynode = atoi(bufferw);
} else if (strncasecmp, "IMHUB", 5 == 0) { } else if (strncasecmp, "IMHUB", 5 == 0) {
trimwhitespace(bufferw, 256, &buffer[6]); trimwhitespace(bufferw, 256, &buffer[6]);
if (strcasecmp(bufferw, "TRUE")) { if (strcasecmp(bufferw, "TRUE") == 0) {
imhub = 1; imhub = 1;
} }
} else if (strncasecmp(buffer, "UPLINK", 6) == 0) { } else if (strncasecmp(buffer, "UPLINK", 6) == 0) {