diff --git a/lib/modules/Protocols.pmod/SMTP.pmod b/lib/modules/Protocols.pmod/SMTP.pmod index 5ceac240028632982c5b47856302bf7c157850b6..0342ae1e2baffa39d63b8d8030ee51467d814289 100644 --- a/lib/modules/Protocols.pmod/SMTP.pmod +++ b/lib/modules/Protocols.pmod/SMTP.pmod @@ -74,7 +74,7 @@ class client cmd("HELO "+gethostname(), "greeting failed."); } - void send_message(string from, string *to, string body) + void send_message(string from, array(string) to, string body) { cmd("MAIL FROM: <" + from + ">"); foreach(to, string t) { diff --git a/lib/modules/Stdio.pmod/module.pmod b/lib/modules/Stdio.pmod/module.pmod index 6e412f344b5ff71654e80e5de8e77390fdfcd6f9..0ae292280e6bf2ee6461ec87eb396c2c24e5404f 100644 --- a/lib/modules/Stdio.pmod/module.pmod +++ b/lib/modules/Stdio.pmod/module.pmod @@ -1,4 +1,4 @@ -// $Id: module.pmod,v 1.74 2000/01/22 02:33:50 hubbe Exp $ +// $Id: module.pmod,v 1.75 2000/02/17 23:11:54 nilsson Exp $ import String; @@ -719,7 +719,7 @@ int append_file(string filename, string what, int|void access) int file_size(string s) { - int *stat; + array(int) stat; stat=file_stat(s); if(!stat) return -1; return stat[1];