diff options
| author | Paul Buetow <paul@buetow.org> | 2012-02-05 00:16:13 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2012-02-05 00:16:13 +0100 |
| commit | 8a40955d3234bf29c01ea29b223be9a63eb5074f (patch) | |
| tree | 9254d9746175f13d293a81e18bdaf80d9ca8101c | |
| parent | 7c48c5216f13fe80dd5c0a44e96da95d8162e684 (diff) | |
Rename thread sub
| -rwxr-xr-x | loadbars | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ($) { |
