Ver código fonte

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

Michael Vogt 14 anos atrás
pai
commit
7735ad0500
1 arquivos alterados com 2 adições e 2 exclusões
  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 */