Changeset 535

Show
Ignore:
Timestamp:
02/19/07 14:18:30 (2 years ago)
Author:
hollow
Message:

revert some changes ..

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/vcd/methods/vx/vx_create.c

    r534 r535  
    674674        method_return_if_fault(env); 
    675675 
    676         /* validate name */ 
    677         if (!validate_name(name)) 
    678                 method_return_faultf(env, MEINVAL, 
    679                         "invalid name value: %s", name); 
    680  
    681676        /* get template dir */ 
    682677        if (str_isempty(template) || !str_isgraph(template)) 
     
    708703                } 
    709704 
     705                /* we don't return MEPERM here, since an attacker could 
     706                 * find out existing vservers by trail&error */ 
    710707                else 
    711                         method_return_fault(env, MEPERM); 
     708                        method_return_fault(env, MENOVPS); 
    712709        } 
    713710