From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [cld patch 1/1] use specified username in cldcli Date: Mon, 03 May 2010 01:59:45 -0400 Message-ID: <4BDE6651.70003@garzik.org> References: <20100502220719.23c3df55@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=zS6/aHWhMhUpPL5TzjETHhPr7YSE3H7fOTqiBU7xXj4=; b=YIWr39HPK565fX1HEcY53/YqQO1QRM1IkdiUHniOkm28rOU9fawy8KUNsBPQvNPRbr +tyCjSsQG7fHiCbOJwLNP6mcsKkovZc8pomyYuwWgiE/ZD107qW64uJ/rB7cjt1LOtV4 93Oxn1cL/8EPxwY35XucAoaMOMzPXewEOyHsg= In-Reply-To: <20100502220719.23c3df55@redhat.com> Sender: hail-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Pete Zaitcev Cc: Project Hail List On 05/03/2010 12:07 AM, Pete Zaitcev wrote: > 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) { applied PS. you sent this to jeff@garzik.com, and unfortunately, I don't own that domain. I should. :) For future reference, jgarzik@pobox.com or jeff@garzik.org are equivalent and should exist for the long term (even if I get fired from Red Hat or somesuch :)). Jeff