X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.c;h=18c03c7e8c808377e843f10e77b836296b876f36;hp=519cf5b39bb507f0b1b997d149aa7608b6e08b6b;hb=103543aa2c15d9f1e2aa313a2e593a7524cce484;hpb=35b1c25093a478d20e01f0ff391c9cdc9c41c2b8 diff --git a/src/connection.c b/src/connection.c index 519cf5b3..18c03c7e 100644 --- a/src/connection.c +++ b/src/connection.c @@ -109,11 +109,11 @@ bool dump_connections(connection_t *cdump) { bool read_connection_config(connection_t *c) { char *fname; - int x; + bool x; xasprintf(&fname, "%s/hosts/%s", confbase, c->name); x = read_config_file(c->config_tree, fname); free(fname); - return x == 0; + return x; }