use IO::Socket::IP and fix null reply
[spider.git] / perl / wsjtl.pl
index f991366e34dc0a9b19ab943620194ac007dfd30f..7bfc8e7a8603ca45a211a78e6729f43bcb9c64d8 100755 (executable)
@@ -111,7 +111,7 @@ sub _udpread
    
        my $in = $wsjtx->handle($handle, $data, "$host:$port");
 
-       distribute($in);
+       distribute($in) if $in && length $in;
 }
 
 sub _accept