From ca16b36d2abc4591f2647eea3b161f8d5c818672 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 27 Sep 1999 11:49:23 +0000 Subject: Fix a mismatch. svn path=/trunk/; revision=2615 --- driver.c | 2 +- fetchmail.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/driver.c b/driver.c index 4c9a05fc..cf18ae71 100644 --- a/driver.c +++ b/driver.c @@ -1631,7 +1631,7 @@ const int maxfetch; /* maximum number of messages to fetch */ if (protocol->getauth) { if (protocol->password_canonify) - (protocol->password_canonify)(shroud, ctl->password); + (protocol->password_canonify)(shroud, ctl->password, PASSWORDLEN); else strcpy(shroud, ctl->password); diff --git a/fetchmail.h b/fetchmail.h index 65ea3d43..401db928 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -148,7 +148,7 @@ struct method /* describe methods for protocol state machine */ flag delimited; /* if true, accept "." message delimiter */ int (*parse_response)(int, char *); /* response_parsing function */ - int (*password_canonify)(char *, char *); + int (*password_canonify)(char *, char *, int); /* canonicalize password */ int (*getauth)(int, struct query *, char *); /* authorization fetcher */ -- cgit v1.2.3