[Codestriker-commits] CVS update: codestriker/lib/Codestriker/TopicListeners Email.pm
Brought to you by:
sits
|
From: <si...@us...> - 2007-11-30 20:47:27
|
User: sits
Date: 07/11/30 12:46:55
Modified: lib/Codestriker/TopicListeners Email.pm
Log:
Fixed a typo which prevented error messages being shown in some situations.
Index: Email.pm
===================================================================
RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/TopicListeners/Email.pm,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- Email.pm 29 Jun 2007 06:54:28 -0000 1.22
+++ Email.pm 30 Nov 2007 20:46:54 -0000 1.23
@@ -506,10 +506,10 @@
# characters.
$smtp->datasend(encode_qp(encode("UTF-8", $body)));
$smtp->dataend();
- $smtp->ok() || return "Couldn't send email $!, " . smtp->message();
+ $smtp->ok() || return "Couldn't send email $!, " . $smtp->message();
$smtp->quit();
- $smtp->ok() || return "Couldn't send email $!, " . smtp->message();
+ $smtp->ok() || return "Couldn't send email $!, " . $smtp->message();
return '';
}
|