diff options
author | linus <linus@nordu.net> | 2011-01-20 17:29:42 +0100 |
---|---|---|
committer | linus <linus@nordu.net> | 2011-01-20 17:29:42 +0100 |
commit | 2bd25761177373972eb38a0700426787f1fb2d24 (patch) | |
tree | 66281461725313b78f6fa01bd41b266cb5b285c8 | |
parent | 6b1412cb72248ab7b0863b5f0f65b42d0f3f180e (diff) |
Cosmetic changes to conf.c.
-rw-r--r-- | lib/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,7 +30,7 @@ int rs_context_read_config(struct rs_context *ctx, const char *config_file) { -#warning "Missing some error handling in rs_context_config_read()" +#warning "Missing some error handling in rs_context_read_config()" cfg_opt_t server_opts[] = { CFG_STR ("hostname", NULL, CFGF_NONE), @@ -88,7 +88,7 @@ rs_context_read_config(struct rs_context *ctx, const char *config_file) r->type = RS_CONN_TYPE_DTLS; else return rs_err_ctx_push_fl (ctx, RSE_CONFIG, __FILE__, __LINE__, - "%s: invalid connection type", typestr); + "invalid connection type: %s", typestr); r->cacertfile = cfg_getstr (cfg_config, "cacertfile"); /*r->cacertpath = cfg_getstr (cfg_config, "cacertpath");*/ |