Permalink
Browse files

happyman: replace warn with log_warning

  • Loading branch information...
1 parent 0e86811 commit 6f935308384fffe67d3c7720bf5b156bafd93da0 @mxey mxey committed Feb 5, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 happyman
View
@@ -82,7 +82,7 @@ sub announce {
tcp_server($Config->{listen_addr}, $Config->{listen_port}, sub {
my($fh, $host, $port) = @_;
if (!$fh) {
- warn "Server failure: $!";
+ log_warning("Server failure: $!");
return;
}

0 comments on commit 6f93530

Please sign in to comment.