Skip to content
Snippets Groups Projects
Commit 6b0af549 authored by Martin Nilsson's avatar Martin Nilsson
Browse files

Fixed warning

Rev: lib/modules/Protocols.pmod/SMTP.pmod:1.10
Rev: lib/modules/Stdio.pmod/module.pmod:1.75
parent 96267853
Branches
Tags
No related merge requests found
......@@ -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) {
......
// $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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment