From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pete Zaitcev Subject: [cld patch 1/1] use specified username in cldcli Date: Sun, 2 May 2010 22:07:19 -0600 Message-ID: <20100502220719.23c3df55@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: hail-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: jeff@garzik.com Cc: Project Hail List I suspect I copy-pasted over it when I converted to ncld, but anyhow this patch seems work and do what's expected for --user flag. Signed-off-by: Pete Zaitcev --- tools/cldcli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cldcli.c b/tools/cldcli.c index 7c73091..79a1009 100644 --- a/tools/cldcli.c +++ b/tools/cldcli.c @@ -712,7 +712,7 @@ int main (int argc, char *argv[]) dr = host_list->data; nsess = ncld_sess_open(dr->host, dr->port, &error, sess_event, NULL, - "cldcli", "cldcli", &cli_log); + our_user, our_user, &cli_log); if (!nsess) { if (error < 1000) { fprintf(stderr, TAG ": cannot open CLD session: %s\n",