IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 2, 2009, 4:29:49 PM (17 years ago)
Author:
jhoblitt
Message:

add params checking to Nebulous::Key::parse_neb_key()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Key.pm

    r23932 r24304  
    2727{
    2828    my ($key, $volume) = @_;
    29     return unless defined $key;
     29
     30    die "key param is not optional" unless defined $key;
     31    die "too many params" if scalar @_ > 2;
    3032
    3133    # white space is not allowed
Note: See TracChangeset for help on using the changeset viewer.