summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
Diffstat (limited to 'methods')
-rw-r--r--methods/http.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/http.cc b/methods/http.cc
index 68653fbb3..e53667c07 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -1184,7 +1184,7 @@ int HttpMethod::Loop()
int main()
{
setlocale(LC_ALL, "");
- bindtextdomain(APT_DOMAIN, Cnf.FindDir("Dir::Locale").c_str());
+ bindtextdomain(APT_DOMAIN, _config->FindDir("Dir::Locale").c_str());
HttpMethod Mth;