On Thursday, November 16 at 03:54 PM, quoth Charlie Allom:
eep! what i have i done?
Heheh, I ran into the same problem.
_mutt_progress_bar
:) Let me guess - you're using Branden's SMTP patch? He hasn't updated it to use the new progress bar mechanism. Here's how you fix it:
Open up smtp.c, and make two changes. First, around line 158, it needs to look like this:
stat (msgfile, &st); unlink (msgfile); mutt_progress_init (&progress, _("Sending message..."), PROG_SIZE, NetInc, st.st_size); snprintf (buf, sizeof (buf), "DATA\r\n"); if (mutt_socket_write (conn, buf) == -1) Then skip down to line 193 and make that line look like this: mutt_progress_update (&progress, ftell (fp)); And that should do it for you! (well, it worked for me) Good luck! ~Kyle -- Computers are useless. They can only give you answers. -- Pablo Picasso
Attachment:
pgpJ66EJyNISw.pgp
Description: PGP signature