Fix number of arguments on _verifyId in prototype.

This commit is contained in:
Bradley M. Kuhn 2015-12-13 12:15:50 -08:00
parent b34de3c1da
commit bf4d5d8b23

View file

@ -222,7 +222,7 @@ Returns: scalar boolean, which is true iff. the $id is valid and already in the
=cut =cut
sub _verifyId($) { sub _verifyId($$) {
my($self, $id) = @_; my($self, $id) = @_;
die "_verifyId() called with a non-numeric id" unless defined $id and looks_like_number($id); die "_verifyId() called with a non-numeric id" unless defined $id and looks_like_number($id);