aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fetchmail.c2
-rw-r--r--fetchmail.h2
-rw-r--r--getpass.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 17fcca56..6c5a4045 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -764,7 +764,7 @@ char *argv[];
printf("fetchmail: about to deliver via MDA %s, args:",
visbuf(argv[0]));
for (cp = argv+1; *cp; cp++)
- printf(" %s(%p)", visbuf(*cp), *cp);
+ printf(" %s", visbuf(*cp));
putchar('\n');
}
diff --git a/fetchmail.h b/fetchmail.h
index 9bf6d105..3b0973fc 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -20,7 +20,7 @@
#define MSGBUFSIZE 2048 /* size of message read buffer */
#define HOSTLEN 128 /* max hostname length */
#define USERNAMELEN 32 /* max user-length */
-#define PASSWORDLEN MAX_PASSWORD_LENGTH
+#define PASSWORDLEN 64 /* max password length */
#define FOLDERLEN 256 /* max folder name length */
#define DIGESTLEN 33 /* length of MD5 digest */
#define MDALEN 256 /* length of delivery agent command */
diff --git a/getpass.c b/getpass.c
index e67ba670..d0606e45 100644
--- a/getpass.c
+++ b/getpass.c
@@ -17,10 +17,11 @@
#if defined(HAVE_UNISTD_H)
#include <unistd.h>
#endif
+#include "fetchmail.h"
extern int optind;
-#define INPUT_BUF_SIZE MAX_PASSWORD_LENGTH
+#define INPUT_BUF_SIZE PASSWORDLEN
#if defined(HAVE_TERMIOS_H) && defined(HAVE_TCSETATTR)
# include <termios.h>