Revision c322e7c3 src/rm/RequestManagerUserAllocate.cc

View differences:

src/rm/RequestManagerUserAllocate.cc
113 113
    goto error_common;  
114 114
     
115 115
error_duplicate:
116
    oss.str(action_error(method_name, "CREATE", "USER", NULL, NULL));
117
    oss << " Reason: Existing user, cannot duplicate.";
116
    oss << action_error(method_name, "CREATE", "USER", NULL, NULL)
117
        << ". Reason: Existing user, cannot duplicate.";
118 118
    goto error_common;
119 119

  
120

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

  
125 124
error_common:
126

  
127 125
    arrayData.push_back(xmlrpc_c::value_boolean(false));  // FAILURE
128 126
    arrayData.push_back(xmlrpc_c::value_string(oss.str()));
129 127
    

Also available in: Unified diff