diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-04-20 16:55:23 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-04-20 16:55:23 (GMT) |
commit | 6b6b8e4ae94161691d29b13c148067dcccdf7089 (patch) | |
tree | 5f7f0f698f229d97647d6c7a0e5289c9fe42fc20 | |
parent | f43ac460d03c7e0df98a050310e79f924b24dec0 (diff) |
fixed scope of variable
-rwxr-xr-x | rhautoimport-dn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rhautoimport-dn b/rhautoimport-dn index 5b1bc63..80ffec3 100755 --- a/rhautoimport-dn +++ b/rhautoimport-dn @@ -142,7 +142,7 @@ if($uri eq "") { print "\nlooking for headlines from date $y in RSS Feed\n"; print " -> $HEADLINES_RSS_URL\n"; -my ($headlines_feed, $errstr) = rhautoimport::fetch_parse_rss($HEADLINES_RSS_URL); +(my $headlines_feed, $errstr) = rhautoimport::fetch_parse_rss($HEADLINES_RSS_URL); unless (defined $headlines_feed) { print "Error fetching feed: $errstr\n"; exit 1; |