# HG changeset patch # User Binki # Date 2009-08-02 22:18:56 # Node ID bb6a0686610a4afc9739470fbc36d5a4fb456f86 # Parent a04225d4bde8c6b1c8f940643b2ff697de864d3d minor spacing issue diff --git a/src/common/options.c b/src/common/options.c --- a/src/common/options.c +++ b/src/common/options.c @@ -107,6 +107,8 @@ int options_init(int argc, char *argv[], strcat(configfile, ".conf"); fprintf(stderr, "using configuration file: %s\n", configfile); + + /* initialize structs */ *allopts = malloc(sizeof(struct options_common)); if(!*allopts) { @@ -139,6 +141,7 @@ int options_init(int argc, char *argv[], (*allopts)->remoteio->ssh_command = strdup("ssh"); /** @TODO: check for NULL return above */ + cfg_opt_t common_opts[] = { CFG_SIMPLE_STR("ssh-command", &(*allopts)->remoteio->ssh_command),