(sendmail_send_message): Bugfix. In spite
of what the comment said, -t option is not implicit and must be specified.
Showing
1 changed file
with
0 additions
and
4 deletions
... | @@ -254,15 +254,11 @@ sendmail_send_message (mailer_t mailer, message_t msg, address_t from, | ... | @@ -254,15 +254,11 @@ sendmail_send_message (mailer_t mailer, message_t msg, address_t from, |
254 | } | 254 | } |
255 | if (!to) | 255 | if (!to) |
256 | { | 256 | { |
257 | /* The -t seems to be implicit when there are no addresses, | ||
258 | so it shouldn't be necessary to specify it. */ | ||
259 | /* | ||
260 | if ((argvec[argc++] = strdup ("-t")) == 0) | 257 | if ((argvec[argc++] = strdup ("-t")) == 0) |
261 | { | 258 | { |
262 | status = ENOMEM; | 259 | status = ENOMEM; |
263 | goto OPEN_STATE_CLEANUP; | 260 | goto OPEN_STATE_CLEANUP; |
264 | } | 261 | } |
265 | */ | ||
266 | } | 262 | } |
267 | else | 263 | else |
268 | { | 264 | { | ... | ... |
-
Please register or sign in to post a comment