X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Fconf-section.c;h=c7bd32473be5c3bb8d686f5578ff8ab86d023045;hb=6efdc514c193f18c9ef840096750c37e78a01bf6;hp=4448ada6afc3da053582a031264d933d6c223862;hpb=bf7544ae9cf66f4c1c83baff63800326eae809d7;p=libucw.git diff --git a/ucw/conf-section.c b/ucw/conf-section.c index 4448ada6..c7bd3247 100644 --- a/ucw/conf-section.c +++ b/ucw/conf-section.c @@ -94,7 +94,7 @@ inspect_section(struct cf_section *sec) void cf_declare_section(const char *name, struct cf_section *sec, uns allow_unknown) { - struct cf_context *cc = cf_get_context(); + struct cf_context *cc = cf_obtain_context(); if (!cc->sections.cfg) { cc->sections.size = 50;