diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-02-28 00:31:27 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-02-28 00:31:27 +0000 |
commit | 2a2c3129e436d7560de8dcfdd11191cfa6506a92 (patch) | |
tree | 4e7c7cbe8887c4c4b55d7bc053c88823197da5f6 /imap.c | |
parent | d4c2c187a478cdfbd55cb262ba8845930764c861 (diff) | |
download | fetchmail-2a2c3129e436d7560de8dcfdd11191cfa6506a92.tar.gz fetchmail-2a2c3129e436d7560de8dcfdd11191cfa6506a92.tar.bz2 fetchmail-2a2c3129e436d7560de8dcfdd11191cfa6506a92.zip |
Ready to ship 5.0.0.
svn path=/trunk/; revision=2393
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -239,6 +239,14 @@ static int do_rfc1731(int sock, char *truename) return result; } + /* this patch by Dan Root <dar@thekeep.org> solves an endianess problem. */ + { + char tmp[4]; + + *(int *)tmp = ntohl(*(int *) challenge1.cstr); + memcpy(challenge1.cstr, tmp, sizeof(tmp)); + } + len = from64tobits(challenge1.cstr, buf1); if (len < 0) { report(stderr, _("could not decode initial BASE64 challenge\n")); |