]> Pileus Git - ~andy/fetchmail/commitdiff
Removed an unnecessary layer of indirection.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 6 Nov 1996 21:05:44 +0000 (21:05 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 6 Nov 1996 21:05:44 +0000 (21:05 -0000)
svn path=/trunk/; revision=495

fetchmail.c
fetchmail.h
getpass.c

index 17fcca5681098c884b061258102131c098fd2bb8..6c5a40456b9cbf4820130160dd326210f08838e2 100644 (file)
@@ -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');
     }
 
index 9bf6d105cf808416ade65afb45353ad9eee442dd..3b0973fcc53e1d1f891d626a1a725feaf85f85ab 100644 (file)
@@ -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 */
index e67ba670168e9147ecb38abba80ffa111f699dbb..d0606e45cc2a45ce3b606cb3ef8a1970ef243953 100644 (file)
--- a/getpass.c
+++ b/getpass.c
 #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>