Parcourir la source

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

Michael Vogt il y a 14 ans
Parent
commit
7735ad0500
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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: */
 /* 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"
 #define NETRC DOT_CHAR "netrc"
 
 
 /* returns -1 on failure, 0 if the host is found, 1 is the host isn't found */
 /* returns -1 on failure, 0 if the host is found, 1 is the host isn't found */