]> git.saurik.com Git - apt.git/commitdiff
Fix typo
authorMichael Vogt <mvo@ubuntu.com>
Mon, 24 Aug 2015 10:39:57 +0000 (12:39 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Mon, 24 Aug 2015 10:39:57 +0000 (12:39 +0200)
Thanks: Julian Andres Klode
Git-Dch: ignore

doc/apt.conf.5.xml
methods/connect.cc

index 13732f84f55cd70254f4de01c9d4e5a2a2e34fcf..920b42ba1a14f9405111fab343d02118fe19af1c 100644 (file)
@@ -597,7 +597,7 @@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
         </para></listitem>
      </varlistentry>
 
-     <varlistentry><term><option>EnableSrvRecods</option></term>
+     <varlistentry><term><option>EnableSrvRecords</option></term>
         <listitem><para>
            This option controls if apt will use the DNS SRV server record
            as specified in RFC 2782 to select an alternative server to
index 5612af6ec7f018ce61cde95824bf0c569c809598..dd45e7203553e29e8b55774dc39af79dafca5b42 100644 (file)
@@ -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