Revision 24ec057a src/rm/RequestManagerUserAllocate.cc

View differences:

src/rm/RequestManagerUserAllocate.cc
109 109
    goto error_common;
110 110
    
111 111
error_authorize:
112
    oss.str(authorization_error(method_name, "CREATE", "USER", rc, NULL));
112
    oss.str(authorization_error(method_name, "CREATE", "USER", rc, -1));
113 113
    goto error_common;  
114 114
     
115 115
error_duplicate:
116
    oss << action_error(method_name, "CREATE", "USER", NULL, NULL)
116
    oss << action_error(method_name, "CREATE", "USER", -1, NULL)
117 117
        << ". Reason: Existing user, cannot duplicate.";
118 118
    goto error_common;
119 119

  
120 120
error_allocate:
121
    oss.str(action_error(method_name, "CREATE", "USER", NULL, rc));
121
    oss.str(action_error(method_name, "CREATE", "USER", -1, rc));
122 122
    goto error_common;
123 123

  
124 124
error_common:

Also available in: Unified diff