fetchmail-friends
[Top] [All Lists]

[fetchmail]Fetchmail 5.9.4 and NTLM compile problem [and possible fix]

2001-10-04 13:38:14
Platform: Linux Mandrake 7.2, Kernel 2.4.10.

Just tried to compile v5.9.4 with my usual config line:

./configure --prefix=/usr --enable-NTLM --with-socks5 --with-ssl=/usr/local/ssl --enable-fallback=no

This worked just fine with 5.9.0, however when I do this and then type make for 5.9.4 I get:

imap.c: In function `do_imap_ntlm':
imap.c:184: too few arguments to function `from64tobits'
make: *** [imap.o] Error 1

It looks like the from64tobits changed between 5.9.0 and 5.9.4 to require an extra argument:

int from64tobits(char *, const char *, int len);
                                      ^^^^^^^

The only call to this that hasn't changed is in imap.c:

len = from64tobits ((unsigned char*)&challenge, msgbuf);

Guess there should be a third field.  Maybe:

len = from64tobits ((unsigned char*)&challenge, msgbuf, sizeof(&challenge));

This compiles, but I haven't a clue if it's valid (my C is just ever so slightly rusty).

Oh, and still a screen of complaints about '\r' escape sequences.

--
Rob  |  Please ask questions the smart way:
               http://www.tuxedo.org/~esr/faqs/smart-questions.html

   Please don't CC me on anything sent to mailing lists or send
       me email directly unless it's a privacy issue, thanks.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail]Fetchmail 5.9.4 and NTLM compile problem [and possible fix], Rob MacGregor <=