From b0df877e023bb73236543528914b84112b98b209 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Tue, 1 Jan 2008 01:20:06 +0000 Subject: chomp the line read from client_key svn path=/branches/new-fu/; revision=303 --- client/scireclient.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/scireclient.pl b/client/scireclient.pl index b93c79a..1da3dcd 100755 --- a/client/scireclient.pl +++ b/client/scireclient.pl @@ -182,10 +182,9 @@ sub register_client { sub identify_client { open(FILE, $conf{key_file}) or die("Couldn't open client_key $conf{key_file}: $!"); - my $digest = join("", ); + my $digest = ; + chomp $digest; close(FILE); - - #my $digest = "124567890"; my ($status, $message) = parse_response(send_command("IDENTIFY", $digest)); unless (defined $status && $status eq "OK") { print "Could not identify to server: $message\n"; -- cgit v1.2.3-18-g5258