(mail_send0): Bugfix. A dot ends the message
only if it is the only character on the line. Thanks to Thomas Esser <te@dbs.uni-hannover.de> for noticing.
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -193,7 +193,8 @@ mail_send0 (struct send_environ *env, int save_to) | ... | @@ -193,7 +193,8 @@ mail_send0 (struct send_environ *env, int save_to) |
193 | 193 | ||
194 | int_cnt = 0; | 194 | int_cnt = 0; |
195 | 195 | ||
196 | if (buf[0] == '.' && util_getenv (NULL, "dot", Mail_env_boolean, 0) == 0) | 196 | if (strcmp (buf, ".") == 0 |
197 | && util_getenv (NULL, "dot", Mail_env_boolean, 0) == 0) | ||
197 | done = 1; | 198 | done = 1; |
198 | else if (util_getenv (&escape, "escape", Mail_env_string, 0) == 0 | 199 | else if (util_getenv (&escape, "escape", Mail_env_string, 0) == 0 |
199 | && buf[0] == escape[0]) | 200 | && buf[0] == escape[0]) | ... | ... |
-
Please register or sign in to post a comment