From c6f747649ace1a92ed5dfaae9cc1ea3affe0bf51 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Tue, 08 Apr 2008 19:27:12 +0000 Subject: Reset ctx.repo to NULL when the config parser is finished This global variable is used by the config parsing callback to keep track of the currently configured repository. If it is not reset to NULL when the config parser is finished, and neither `url` or `r` is specified on the querystring, cgit will wrongly consider the last configured repo as selected. Signed-off-by: Lars Hjemli --- (limited to 'html.c') -- cgit v0.9.0.2