X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a2c417d3e1641ba4ab151b7945b90f55176705b1..cb7874fcb45549b99e4847affe4a2bd20e20e648:/uip/sendsbr.c diff --git a/uip/sendsbr.c b/uip/sendsbr.c index 5da67fc9..74f7dae5 100644 --- a/uip/sendsbr.c +++ b/uip/sendsbr.c @@ -76,22 +76,12 @@ sendsbr (char **vec, int vecp, char *program, char *draft, struct stat *st, by longjmp. */ volatile int nvecs = vecp; int *nvecsp = (int *) &nvecs; - int eai = 0; /* * Run the mimebuildproc (which is by default mhbuild) on the message * with the addition of the "-auto" flag */ - /* Make sure that EAI support is set up before calling buildmimeproc. */ - for (i = 0; i < vecp; ++i) { - if (strcasecmp (vec[i], "-eai") == 0) { - eai = 1; - } else if (strcasecmp (vec[i], "-noeai") == 0) { - eai = 0; - } - } - switch (child = fork()) { case NOTOK: adios("fork", "unable to"); @@ -103,17 +93,6 @@ sendsbr (char **vec, int vecp, char *program, char *draft, struct stat *st, if (distfile) buildvec[i++] = "-dist"; buildvec[i++] = (char *) drft; - if (eai) { - /* Add eai profile entry, to pass 8bit setting to - getname()/getadrx(). This doesn't seem to be necessary - now, but it's here just in case the code changes - later. */ - add_profile_entry("eai", "8bit"); - - /* Add mhbuild switch to enable 8bit headers. */ - buildvec[i++] = "-headerencoding"; - buildvec[i++] = "8bit"; - } buildvec[i] = NULL; execvp(buildprogram, buildvec); fprintf(stderr, "unable to exec ");