aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-09-27 11:49:23 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-09-27 11:49:23 +0000
commitca16b36d2abc4591f2647eea3b161f8d5c818672 (patch)
tree6eadc3170914c073d709aabb67e70cb93047efd9
parentbfe229561cd3018aed4ab427fc6d4c3b9e52dac1 (diff)
downloadfetchmail-ca16b36d2abc4591f2647eea3b161f8d5c818672.tar.gz
fetchmail-ca16b36d2abc4591f2647eea3b161f8d5c818672.tar.bz2
fetchmail-ca16b36d2abc4591f2647eea3b161f8d5c818672.zip
Fix a mismatch.
svn path=/trunk/; revision=2615
-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 */