diff --git a/fhem/FHEM/59_Twilight.pm b/fhem/FHEM/59_Twilight.pm index 8a97b707d..bb5fce449 100644 --- a/fhem/FHEM/59_Twilight.pm +++ b/fhem/FHEM/59_Twilight.pm @@ -8,7 +8,7 @@ package main; use strict; use warnings; use POSIX; -uset HttpUtils; +use HttpUtils; sub dayofyear { my ($day1,$month,$year)=@_; diff --git a/fhem/FHEM/HttpUtils.pm b/fhem/FHEM/HttpUtils.pm index 8454d2866..259029324 100644 --- a/fhem/FHEM/HttpUtils.pm +++ b/fhem/FHEM/HttpUtils.pm @@ -89,7 +89,7 @@ sub GetHttpFile($$) { my ($host,$port) = @_; - return GetFileFromURL("http://$host$file); + return GetFileFromURL("http://$host$file"); } 1;