apt-pkg/contrib/netrc.cc: use a slightly smaller login/password size
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 28 Aug 2012 09:44:26 +0000 (11:44 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 28 Aug 2012 09:44:26 +0000 (11:44 +0200)
apt-pkg/contrib/netrc.cc

index 43abc62..06059df 100644 (file)
@@ -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 */