Procházet zdrojové kódy

apt-pkg/contrib/netrc.cc: use a slightly smaller login/password size

Michael Vogt před 14 roky
rodič
revize
7735ad0500
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      apt-pkg/contrib/netrc.cc

+ 2 - 2
apt-pkg/contrib/netrc.cc

@@ -40,8 +40,8 @@ enum {
 };
 
 /* make sure we have room for at least this size: */
-#define LOGINSIZE 1024
-#define PASSWORDSIZE 1024
+#define LOGINSIZE 256
+#define PASSWORDSIZE 256
 #define NETRC DOT_CHAR "netrc"
 
 /* returns -1 on failure, 0 if the host is found, 1 is the host isn't found */