Re: [patch] pop failure / flock fix
- From: Carlos Morgado <chbm chbm nu>
- To: balsa List <balsa-list gnome org>
- Cc: robsmith hfx eastlink ca
- Subject: Re: [patch] pop failure / flock fix
- Date: Thu, 10 Aug 2000 15:43:37 +0100
On Thu, 10 Aug 2000 15:29:56 robsmith wrote:
> Can you be a little more specific. I have your original message with the
code
> on it. Just not sure what to do with it or where to put it...
>
>
it's a one liner.
on balsa/libmutt/pop.c at line 175 you find
if (connect (s, (struct sockaddr *) &sin, sizeof (struct sockaddr_in)) ==
-1)
{
mutt_perror ("connect");
return;
}
you need to change it to
if (connect (s, (struct sockaddr *) &sin, sizeof (struct sockaddr_in)) ==
-1)
{
mutt_perror ("connect");
mx_fastclose_mailbox (&ctx);
return;
}
ie. add mx_fastclose_mailbox (&ctx);
recompile balsa. voila'
(hum. why don't i just make diff and save myself the trouble of explaining)
cheers
--
Carlos Morgado - chbm(at)chbm(dot)nu - http://chbm.nu/ -- gpgkey: 0x1FC57F0A
http://wwwkeys.pgp.net/ FP:0A27 35D3 C448 3641 0573 6876 2A37 4BB2 1FC5 7F0A
Software is like sex; it's better when it's free. - Linus Torvalds
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]