summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2007-12-30 01:43:20 +0000
committerAndrew Gaffney <agaffney@gentoo.org>2007-12-30 01:43:20 +0000
commitabbe117036610af5a2c158914cf764342f1ab801 (patch)
tree435dacccfda2a900e7d1e5204166014943d3bebb /client
parentconfig updates. (diff)
downloadscire-abbe117036610af5a2c158914cf764342f1ab801.tar.gz
scire-abbe117036610af5a2c158914cf764342f1ab801.tar.bz2
scire-abbe117036610af5a2c158914cf764342f1ab801.zip
move get_response() code into send_command() since nothing else uses it
svn path=/branches/new-fu/; revision=270
Diffstat (limited to 'client')
-rwxr-xr-xclient/scireclient.pl14
1 files changed, 7 insertions, 7 deletions
diff --git a/client/scireclient.pl b/client/scireclient.pl
index 2b961e2..6b4ec1a 100755
--- a/client/scireclient.pl
+++ b/client/scireclient.pl
@@ -100,17 +100,17 @@ sub send_command {
print SERVER_STDIN "${tosend}\n";
#FIXME WE NEED A TIMEOUT HERE OF SOME SORT!!
#if the server doesn't give you a newline this just hangs!
- my $response = get_response();
- return $response;
-}
-
-sub get_response {
- # XXX: Add some logic for multi-line responses here
my $response = <SERVER_STDOUT>;
- print "Got: ${response}" if($conf{debug});
+# my $response = get_response();
return $response;
}
+#sub get_response {
+# my $response = <SERVER_STDOUT>;
+# print "Got: ${response}" if($conf{debug});
+# return $response;
+#}
+
sub parse_response {
my $resp = shift;
return "Not sure how this is gonna work yet";