From 8a40955d3234bf29c01ea29b223be9a63eb5074f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 5 Feb 2012 00:16:13 +0100 Subject: Rename thread sub --- loadbars | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loadbars b/loadbars index 228da73..9e9e527 100755 --- a/loadbars +++ b/loadbars @@ -171,7 +171,7 @@ sub read_config () { close $conffile; } -sub thread_get_stats ($;$) { +sub stats_thread ($;$) { my ( $host, $user ) = @_; $user = defined $user ? "-l $user" : ''; @@ -316,7 +316,7 @@ sub draw_background ($$) { sub create_threads (@) { return map { $_->detach(); $_ } - map { threads->create( 'thread_get_stats', split ':' ) } @_; + map { threads->create( 'stats_thread', split ':' ) } @_; } sub auto_off_text ($) { -- cgit v1.2.3