Procházet zdrojové kódy

Fix typo

Thanks: Julian Andres Klode
Git-Dch: ignore
Michael Vogt před 11 roky
rodič
revize
c8ec5ab764
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      doc/apt.conf.5.xml
  2. 1 1
      methods/connect.cc

+ 1 - 1
doc/apt.conf.5.xml

@@ -597,7 +597,7 @@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
 	 </para></listitem>
 	 </para></listitem>
      </varlistentry>
      </varlistentry>
 
 
-     <varlistentry><term><option>EnableSrvRecods</option></term>
+     <varlistentry><term><option>EnableSrvRecords</option></term>
 	 <listitem><para>
 	 <listitem><para>
            This option controls if apt will use the DNS SRV server record
            This option controls if apt will use the DNS SRV server record
            as specified in RFC 2782 to select an alternative server to
            as specified in RFC 2782 to select an alternative server to

+ 1 - 1
methods/connect.cc

@@ -272,7 +272,7 @@ bool Connect(std::string Host,int Port,const char *Service,
    if(LastHost != Host || LastPort != Port)
    if(LastHost != Host || LastPort != Port)
    {
    {
       SrvRecords.clear();
       SrvRecords.clear();
-      if (_config->FindB("Acquire::EnableSrvRecods", true) == true)
+      if (_config->FindB("Acquire::EnableSrvRecords", true) == true)
          GetSrvRecords(Host, DefPort, SrvRecords);
          GetSrvRecords(Host, DefPort, SrvRecords);
    }
    }
    // we have no SrvRecords for this host, connect right away
    // we have no SrvRecords for this host, connect right away