summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/netrc.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-08-28 11:44:26 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-08-28 11:44:26 +0200
commit7735ad0500b6fefef03b2a3dc2a6843e82353e94 (patch)
treed79ae0db2dd7d98711ba11d624558d9201a66397 /apt-pkg/contrib/netrc.cc
parent96b1e40d56ea25e3ad860ecfa9a25dc84247387c (diff)
apt-pkg/contrib/netrc.cc: use a slightly smaller login/password size
Diffstat (limited to 'apt-pkg/contrib/netrc.cc')
-rw-r--r--apt-pkg/contrib/netrc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/netrc.cc b/apt-pkg/contrib/netrc.cc
index 43abc62ce..06059dfc1 100644
--- a/apt-pkg/contrib/netrc.cc
+++ b/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 */