#include "charset.h"
#include "mutt_crypt.h"
#include "mutt_idna.h"
+#include "svnrev.h"
#include "lib/mem.h"
#include "lib/str.h"
CONTENT *info;
CONTENT_STATE state;
FILE *fp = NULL;
- char *fromcode;
+ char *fromcode = NULL;
char *tocode;
char buffer[100];
char chsbuf[STRING];
}
}
/* Add a vanity header */
- fprintf (fp, "User-Agent: mutt-ng/%s (%s)\n", MUTT_VERSION, os);
+ fprintf (fp, "User-Agent: %s (%s)\n", mutt_make_version (0), os);
}
return (ferror (fp) == 0 ? 0 : -1);