not sure how that compiled..
This commit is contained in:
parent
bf0a86b776
commit
99a7223a0a
@ -109,7 +109,7 @@ int parse_config_file(char *filename) {
|
||||
if (strncasecmp(buffer, "MYNODE", 6) == 0) {
|
||||
trimwhitespace(bufferw, 256, &buffer[7]);
|
||||
mynode = atoi(bufferw);
|
||||
} else if (strncasecmp, "IMHUB", 5 == 0) {
|
||||
} else if (strncasecmp(buffer, "IMHUB", 5) == 0) {
|
||||
trimwhitespace(bufferw, 256, &buffer[6]);
|
||||
if (strcasecmp(bufferw, "TRUE") == 0) {
|
||||
imhub = 1;
|
||||
@ -287,7 +287,7 @@ int export_messages(int area) {
|
||||
|
||||
msg.area = areas[area]->id;
|
||||
|
||||
if (areas[area]->hub == mynode) {
|
||||
if (areas[area]->hub == mynode) {
|
||||
for (n = 0; n < areas[area]->link_count; n++) {
|
||||
if (imhub) {
|
||||
snprintf(buffer, PATH_MAX, "%s/%d/", baseoutdir, areas[area]->links[n]);
|
||||
|
Reference in New Issue
Block a user