Sfoglia il codice sorgente

Bumped methods version number
Author: jgg
Date: 2001-02-23 07:19:49 GMT
Bumped methods version number

Arch Librarian 22 anni fa
parent
commit
44a38e5317
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 2 2
      methods/ftp.cc
  2. 2 2
      methods/http.cc

+ 2 - 2
methods/ftp.cc

@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // -*- mode: cpp; mode: fold -*-
 // Description								/*{{{*/
 // Description								/*{{{*/
-// $Id: ftp.cc,v 1.22 2001/02/23 05:45:27 jgg Exp $
+// $Id: ftp.cc,v 1.23 2001/02/23 07:19:49 jgg Exp $
 /* ######################################################################
 /* ######################################################################
 
 
    HTTP Aquire Method - This is the FTP aquire method for APT.
    HTTP Aquire Method - This is the FTP aquire method for APT.
@@ -179,7 +179,7 @@ bool FTPConn::Login()
    
    
    // Setup the variables needed for authentication
    // Setup the variables needed for authentication
    string User = "anonymous";
    string User = "anonymous";
-   string Pass = "apt_get_ftp_2.0@debian.linux.user";
+   string Pass = "apt_get_ftp_2.1@debian.linux.user";
 
 
    // Fill in the user/pass
    // Fill in the user/pass
    if (ServerName.User.empty() == false)
    if (ServerName.User.empty() == false)

+ 2 - 2
methods/http.cc

@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // -*- mode: cpp; mode: fold -*-
 // Description								/*{{{*/
 // Description								/*{{{*/
-// $Id: http.cc,v 1.48 2001/02/23 05:45:27 jgg Exp $
+// $Id: http.cc,v 1.49 2001/02/23 07:19:49 jgg Exp $
 /* ######################################################################
 /* ######################################################################
 
 
    HTTP Aquire Method - This is the HTTP aquire method for APT.
    HTTP Aquire Method - This is the HTTP aquire method for APT.
@@ -670,7 +670,7 @@ void HttpMethod::SendReq(FetchItem *Itm,CircleBuf &Out)
       Req += string("Authorization: Basic ") + 
       Req += string("Authorization: Basic ") + 
           Base64Encode(Uri.User + ":" + Uri.Password) + "\r\n";
           Base64Encode(Uri.User + ":" + Uri.Password) + "\r\n";
    
    
-   Req += "User-Agent: Debian APT-HTTP/1.2\r\n\r\n";
+   Req += "User-Agent: Debian APT-HTTP/1.3\r\n\r\n";
    
    
    if (Debug == true)
    if (Debug == true)
       cerr << Req << endl;
       cerr << Req << endl;