From 2bd25761177373972eb38a0700426787f1fb2d24 Mon Sep 17 00:00:00 2001 From: linus Date: Thu, 20 Jan 2011 17:29:42 +0100 Subject: Cosmetic changes to conf.c. --- lib/conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/conf.c b/lib/conf.c index c235ffe..d42f2cd 100644 --- a/lib/conf.c +++ b/lib/conf.c @@ -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");*/ -- cgit v1.1