diff options
author | Linus Nordberg <linus@nordu.net> | 2012-01-24 13:17:12 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2012-01-24 13:17:12 +0100 |
commit | 02d0d00a69efa12cb00b048267b4800d14e5f454 (patch) | |
tree | acc76e563a478f8da8cd2effea7e5ae77ec0e232 /lib | |
parent | cb81fb758f13eb69945255655546995834e4ace0 (diff) |
Move a comment, for clarification.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -125,11 +125,11 @@ rs_context_read_config(struct rs_context *ctx, const char *config_file) config->realms = r; } cfg_realm = cfg_getnsec (cfg, "realm", i); - /* We use a copy of the return value of cfg_title() since it's const. */ s = cfg_title (cfg_realm); if (s == NULL) return rs_err_ctx_push_fl (ctx, RSE_CONFIG, __FILE__, __LINE__, "missing realm name"); + /* We use a copy of the return value of cfg_title() since it's const. */ r->name = strdup (s); if (r->name == NULL) return rs_err_ctx_push_fl (ctx, RSE_NOMEM, __FILE__, __LINE__, NULL); |