summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
Diffstat (limited to 'methods')
-rw-r--r--methods/connect.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/connect.cc b/methods/connect.cc
index 5612af6ec..dd45e7203 100644
--- a/methods/connect.cc
+++ b/methods/connect.cc
@@ -272,7 +272,7 @@ bool Connect(std::string Host,int Port,const char *Service,
if(LastHost != Host || LastPort != Port)
{
SrvRecords.clear();
- if (_config->FindB("Acquire::EnableSrvRecods", true) == true)
+ if (_config->FindB("Acquire::EnableSrvRecords", true) == true)
GetSrvRecords(Host, DefPort, SrvRecords);
}
// we have no SrvRecords for this host, connect right away