--- a/check_zarafa.pl Thu May 12 14:39:14 2011 +0200
+++ b/check_zarafa.pl Thu May 12 15:06:00 2011 +0200
@@ -74,7 +74,11 @@
my @webside = ();
my $last_verbose = "";
- push @webside, split( "\n", get($url) );
+ my $side = get($url);
+
+ return "can't get $url" if ( !$side );
+
+ push @webside, split( "\n", $side );
foreach (@webside) {
/$search/ or next;
$last_verbose = $1 and last;
--- a/debian/changelog Thu May 12 14:39:14 2011 +0200
+++ b/debian/changelog Thu May 12 15:06:00 2011 +0200
@@ -1,3 +1,9 @@
+nagios-plugin-zarafa (0.2) lenny squeeze; urgency=low
+
+ * fixing (uninitialized value in split line 77) problem
+
+ -- Christian Arnold <arnold@schlittermann.de> Thu, 12 May 2011 15:02:42 +0200
+
nagios-plugin-zarafa (0.1) lenny squeeze; urgency=low
* Initial Release.