X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fconf-dump.c;h=9d7e31c926b9e7bcdbd735f822adc6e377add00f;hb=5959916922193dea72ec0f74fa0a5211ca68f9c4;hp=2176f71e90000b14be4385a73d242875d1eaabcb;hpb=fa7aa6d9457616ce28f97c83eaa616d0ff276870;p=libucw.git diff --git a/ucw/conf-dump.c b/ucw/conf-dump.c index 2176f71e..9d7e31c9 100644 --- a/ucw/conf-dump.c +++ b/ucw/conf-dump.c @@ -2,7 +2,7 @@ * UCW Library -- Configuration files: dumping * * (c) 2001--2006 Robert Spalek - * (c) 2003--2006 Martin Mares + * (c) 2003--2012 Martin Mares * * This software may be freely distributed and used according to the terms * of the GNU Lesser General Public License. @@ -118,6 +118,7 @@ dump_section(struct fastbuf *fb, struct cf_section *sec, int level, void *ptr) void cf_dump_sections(struct fastbuf *fb) { - dump_section(fb, &cf_sections, 0, NULL); + struct cf_context *cc = cf_get_context(); + dump_section(fb, &cc->sections, 0, NULL); }