summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_mail.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_mail.class b/it_mail.class
index 503da08..6da381c 100644
--- a/it_mail.class
+++ b/it_mail.class
@@ -370,7 +370,7 @@ function fullname_escape($string)
* @return True if SMTP result code is lower than $failcode
*
*/
-function send_smtp_cmd($fp, $cmd, &$answer, $timeoutok = false, $failcode = 300)
+static function send_smtp_cmd($fp, $cmd, &$answer, $timeoutok = false, $failcode = 300)
{
$result = false;
$answer = '';