aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--driver.c2
-rw-r--r--fetchmail.h2
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 */