ControlScripts/clients/hrk: cosmetic update to parse_hrk.sh
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 13 Aug 2010 10:07:46 +0000 (13:07 +0300)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 13 Aug 2010 10:07:46 +0000 (13:07 +0300)
ControlScripts/clients/hrk/parse_hrk.sh

index fe54e71..bb30d00 100755 (executable)
@@ -46,9 +46,9 @@ BEGIN {
 
 {
        if ($1 == "SLEEP")
-                rel_time = rel_time + $2;
-        else
-        {      dlspeed = $6 + 0;
+               rel_time = rel_time + $2;
+       else {
+               lspeed = $6 + 0;
                upspeed = $8 + 0;
                download = $10 + 0;
                size = $14 + 0;