Commit c5d52560ec3e257191b0526df1cd89f92f735b25
1 parent
633954df
Removing error log when timeout is null.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
calexium_lib/mail/send_mail.anubis
| @@ -155,7 +155,7 @@ define Reply_Result | @@ -155,7 +155,7 @@ define Reply_Result | ||
| 155 | if receive_command(conn, [], time_out) is | 155 | if receive_command(conn, [], time_out) is |
| 156 | { | 156 | { |
| 157 | failure then logError(send_mail_log, "receive_reply: error receiving command"); error, | 157 | failure then logError(send_mail_log, "receive_reply: error receiving command"); error, |
| 158 | - timeout then logError(send_mail_log, "receive_reply: timeout receiving command"); timeout, | 158 | + timeout then (if time_out > 0 then logError(send_mail_log, "receive_reply: timeout receiving command") else unique); timeout, |
| 159 | success(line) then | 159 | success(line) then |
| 160 | //check if we must read another line by presence of hyphen after the reply code | 160 | //check if we must read another line by presence of hyphen after the reply code |
| 161 | //220-bla bla bla | 161 | //220-bla bla bla |
| @@ -355,7 +355,7 @@ public define SendContentResult | @@ -355,7 +355,7 @@ public define SendContentResult | ||
| 355 | RWStream target, | 355 | RWStream target, |
| 356 | Int so_far | 356 | Int so_far |
| 357 | ) = | 357 | ) = |
| 358 | - if receive_reply(weaken(target), [], smtp_time_out) is | 358 | + if receive_reply(weaken(target), [], 0) is |
| 359 | { | 359 | { |
| 360 | error then copy_error(so_far), | 360 | error then copy_error(so_far), |
| 361 | timeout then | 361 | timeout then |