summaryrefslogtreecommitdiff
path: root/example/ivyprobe.pl
diff options
context:
space:
mode:
authorbustico2006-10-17 14:41:37 +0000
committerbustico2006-10-17 14:41:37 +0000
commit83c0a6e1ce7292792401093acb575761f2a0875b (patch)
tree8aac44155d7251d0969197b40448898eb2fcec1e /example/ivyprobe.pl
parent9a4a1fa75d831f47c6d9ca421b1c1c14218e91c7 (diff)
downloadivy-perl-83c0a6e1ce7292792401093acb575761f2a0875b.zip
ivy-perl-83c0a6e1ce7292792401093acb575761f2a0875b.tar.gz
ivy-perl-83c0a6e1ce7292792401093acb575761f2a0875b.tar.bz2
ivy-perl-83c0a6e1ce7292792401093acb575761f2a0875b.tar.xz
fix a big incompability in bonjour message between ivy-perl and others
inmplementations (uuid and appName were swapped)
Diffstat (limited to 'example/ivyprobe.pl')
-rwxr-xr-xexample/ivyprobe.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/example/ivyprobe.pl b/example/ivyprobe.pl
index 199c6e9..41efe78 100755
--- a/example/ivyprobe.pl
+++ b/example/ivyprobe.pl
@@ -114,6 +114,9 @@ $Ivyobj->start;
sub cb {
my $line = <STDIN>;
+ unless (defined $line) {
+ die "readline mode problem : try $0 -stdio\n";
+ }
chomp $line;
exit if (&interpret_line ($line));
}