Subject: | backwards logic glitch in reserve() for "reserve-with-timeout" and "reserve" |
Hi,
Line 310 in Client.pm has the logic reversed:
my $cmd = defined($timeout) ? "reserve" : "reserve-with-timeout $timeout";
If reserve() is called without a timeout, this generates an "unitialized
value" warning because it calls "reserve-with-timeout". If called /with/
a timeout, that timeout is ignored.
Thanks!
Rhesa