From: mar Date: Tue, 22 Sep 1992 13:44:43 +0000 (+0000) Subject: additional arg to send_file() X-Git-Tag: release77~401 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/de940d6f2939d5080a4e6897fcec16abcba3d8f3 additional arg to send_file() --- diff --git a/update/client.c b/update/client.c index a8b85856..3884bf8d 100644 --- a/update/client.c +++ b/update/client.c @@ -162,14 +162,14 @@ char *instructions; goto update_failed; } - code = send_file(pathname, target_path); + code = send_file(pathname, target_path, 0); if (code) goto update_failed; /* send instructions for installation */ strcpy(buf, "/tmp/moira-update.XXXXXX"); mktemp(buf); - code = send_file(instructions, buf); + code = send_file(instructions, buf, 0); if (code) goto update_failed;