not sure how that compiled..

This commit is contained in:
Andrew Pamment 2018-05-23 22:16:02 +10:00
parent bf0a86b776
commit 99a7223a0a

View File

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