]>
Commit | Line | Data |
---|---|---|
1c40ab22 | 1 | --- mm2.7/src/metamail/mailto.c~ Thu Sep 9 01:24:39 1999 |
2 | +++ mm2.7/src/metamail/mailto.c Thu Sep 9 01:28:07 1999 | |
3 | @@ -1796,6 +1796,8 @@ | |
4 | printf("\nEnter the MIME Content-type value for the data from file %s\n (type '?' for a list of locally-valid content-types): ", sdum); | |
5 | fflush(stdout); | |
6 | fgets(LineBuf, sizeof(LineBuf), stdin); | |
7 | + if (LineBuf[strlen(LineBuf)-1] == '\n') | |
8 | + LineBuf[strlen(LineBuf)-1] = '\0'; | |
9 | if (index(LineBuf, '/')) { | |
10 | char lc[100], *s, AnsBuf[100]; | |
11 | strcpy(lc, LineBuf); |