Revision 5bde303f src/rm/RequestManagerAllocate.cc

View differences:

src/rm/RequestManagerAllocate.cc
27 27
    ostringstream oss;
28 28

  
29 29
    oss << "[" << method_name << "]" << " Error allocating a new "
30
        << AuthRequest::object_name(auth_object) << ".";
30
        << object_name(auth_object) << ".";
31 31

  
32 32
    if (!error.empty())
33 33
    {
......
45 45
    ostringstream oss;
46 46

  
47 47
    oss << "[" << method_name << "]" << " Error allocating a new "
48
        << AuthRequest::object_name(auth_object) << ". Parse error";
48
        << object_name(auth_object) << ". Parse error";
49 49

  
50 50
    if ( error != 0 )
51 51
    {
......
147 147
                                          string& error_str)
148 148
{
149 149
    VirtualNetworkPool * vpool = static_cast<VirtualNetworkPool *>(pool);
150
    VirtualNetworkTemplate * vtmpl = static_cast<VirtualNetworkTemplate *>(tmpl);
150
    VirtualNetworkTemplate * vtmpl=static_cast<VirtualNetworkTemplate *>(tmpl);
151 151

  
152 152
    return vpool->allocate(uid, gid, vtmpl, &id, error_str);
153 153
}
......
175 175
                                    string& error_str)
176 176
{
177 177
    VMTemplatePool * tpool = static_cast<VMTemplatePool *>(pool);
178
    VirtualMachineTemplate * ttmpl = static_cast<VirtualMachineTemplate *>(tmpl);
178

  
179
    VirtualMachineTemplate * ttmpl=static_cast<VirtualMachineTemplate *>(tmpl);
179 180

  
180 181
    return tpool->allocate(uid, gid, ttmpl, &id, error_str);
181 182
}
......
238 239
                                 string& error_str)
239 240
{
240 241
    string gname = xmlrpc_c::value_string(paramList.getString(1));
242

  
241 243
    GroupPool * gpool = static_cast<GroupPool *>(pool);
242 244

  
243 245
    return gpool->allocate(uid, gname, &id, error_str);

Also available in: Unified diff