summaryrefslogtreecommitdiff
path: root/lib/conf.c
diff options
context:
space:
mode:
authorlinus <linus@nordu.net>2011-01-20 17:29:42 +0100
committerlinus <linus@nordu.net>2011-01-20 17:29:42 +0100
commit2bd25761177373972eb38a0700426787f1fb2d24 (patch)
tree66281461725313b78f6fa01bd41b266cb5b285c8 /lib/conf.c
parent6b1412cb72248ab7b0863b5f0f65b42d0f3f180e (diff)
Cosmetic changes to conf.c.
Diffstat (limited to 'lib/conf.c')
-rw-r--r--lib/conf.c4
1 files changed, 2 insertions, 2 deletions
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");*/