IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16222


Ignore:
Timestamp:
Jan 24, 2008, 3:55:00 PM (18 years ago)
Author:
jhoblitt
Message:

oops

Location:
trunk
Files:
2 edited

Legend:

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

    r16221 r16222  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: Server.pm,v 1.47 2008-01-25 01:53:28 jhoblitt Exp $
     3# $Id: Server.pm,v 1.48 2008-01-25 01:55:00 jhoblitt Exp $
    44
    55package Nebulous::Server;
     
    161161        my $volume;
    162162        ($volume, $key) = parse_neb_key($key);
    163 #        if (defined $volume) {
    164 #            die "$volume is not a valid volume name"
    165 #                unless $self->_is_valid_volume_name($volume);
    166 #        }
     163        if (defined $volume) {
     164            die "$volume is not a valid volume name"
     165                unless $self->_is_valid_volume_name($volume);
     166        }
    167167        $vol_name ||= $volume;
    168168
  • trunk/Nebulous/lib/Nebulous/Server.pm

    r16221 r16222  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: Server.pm,v 1.47 2008-01-25 01:53:28 jhoblitt Exp $
     3# $Id: Server.pm,v 1.48 2008-01-25 01:55:00 jhoblitt Exp $
    44
    55package Nebulous::Server;
     
    161161        my $volume;
    162162        ($volume, $key) = parse_neb_key($key);
    163 #        if (defined $volume) {
    164 #            die "$volume is not a valid volume name"
    165 #                unless $self->_is_valid_volume_name($volume);
    166 #        }
     163        if (defined $volume) {
     164            die "$volume is not a valid volume name"
     165                unless $self->_is_valid_volume_name($volume);
     166        }
    167167        $vol_name ||= $volume;
    168168
Note: See TracChangeset for help on using the changeset viewer.