From 96c29960996e131ef6ddbc6b3b8043a3e321dda9 Mon Sep 17 00:00:00 2001 From: zacheiss Date: Mon, 8 Jan 2001 19:27:48 +0000 Subject: [PATCH] send_file and friends are now mr_send_file(), etc. --- dcm/dcm.pc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dcm/dcm.pc b/dcm/dcm.pc index c34b8263..105ec650 100644 --- a/dcm/dcm.pc +++ b/dcm/dcm.pc @@ -412,7 +412,7 @@ int dcm_send_file(char *service, int type, char *host, char *target) return MR_CANT_CONNECT; } - code = send_auth(conn, host); + code = mr_send_auth(conn, host); if (code) { com_err(whoami, code, "authenticating to %s", host); @@ -423,12 +423,12 @@ int dcm_send_file(char *service, int type, char *host, char *target) sprintf(data, "%s/%s/%s", DCM_DIR, service, host); else sprintf(data, "%s/%s.out", DCM_DIR, service); - code = send_file(conn, data, target, 0); + code = mr_send_file(conn, data, target, 0); if (code) com_err(whoami, code, "sending data to %s", host); done: - send_quit(conn); + mr_send_quit(conn); close(conn); return code; } @@ -445,7 +445,7 @@ int dcm_execute(char *service, char *host, char *script) return MR_CANT_CONNECT; } - code = send_auth(conn, host); + code = mr_send_auth(conn, host); if (code) { com_err(whoami, code, "authenticating to %s", host); @@ -454,19 +454,19 @@ int dcm_execute(char *service, char *host, char *script) sprintf(inst, "/tmp/moira-update.XXXXXX"); mktemp(inst); - code = send_file(conn, script, inst, 0); + code = mr_send_file(conn, script, inst, 0); if (code) { com_err(whoami, code, "sending instructions to %s", host); goto done; } - code = execute(conn, inst); + code = mr_execute(conn, inst); if (code) com_err(whoami, code, "executing instructions on %s", host); done: - send_quit(conn); + mr_send_quit(conn); close(conn); return code; } -- 2.45.1