diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2007-08-20 16:32:12 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2007-08-20 16:32:12 +0200 |
commit | 1aff1fefe02d169f24b49be8775b77237dd25fcd (patch) | |
tree | 10776b17ac039e44bbdca6be469bc389c9f829f0 /lib/Smokeping/Master.pm | |
parent | 201c1d43ebf73e70032309978a0704a29e3537fd (diff) | |
download | smokeping-1aff1fefe02d169f24b49be8775b77237dd25fcd.tar.gz smokeping-1aff1fefe02d169f24b49be8775b77237dd25fcd.tar.xz |
interoduced std dev
Diffstat (limited to 'lib/Smokeping/Master.pm')
-rw-r--r-- | lib/Smokeping/Master.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Smokeping/Master.pm b/lib/Smokeping/Master.pm index e6e35d1..567324f 100644 --- a/lib/Smokeping/Master.pm +++ b/lib/Smokeping/Master.pm @@ -149,7 +149,7 @@ sub get_slaveupdates { } else { warn "Could not lock $file. Can't load data.\n"; } - close $hand; + close $hand; return $data; } return; @@ -201,7 +201,7 @@ sub answer_slave { print "WARNING: I don't know the slave ${slave} ignoring it"; return; } - # lets make sure the she share a secret + # lets make sure the we share a secret if (md5_base64($secret.$data) eq $key){ save_updates $cfg, $slave, $data; } else { |