Revision 0659115f src/rm/RequestManagerVirtualNetworkPublish.cc

View differences:

src/rm/RequestManagerVirtualNetworkPublish.cc
52 52
    publish_flag = xmlrpc_c::value_boolean(paramList.getBoolean(2));
53 53

  
54 54
    // First, we need to authenticate the user
55
    rc = VirtualNetworkPublish::upool->authenticate(session);
55
    uid = VirtualNetworkPublish::upool->authenticate(session);
56 56

  
57
    if ( rc == -1 )
57
    if ( uid == -1 )
58 58
    {
59 59
        goto error_authenticate;
60 60
    }
61 61
    
62
    uid = rc;
63
    
64 62
    // Get virtual network from the VirtualNetworkPool
65 63
    vn = VirtualNetworkPublish::vnpool->get(nid,true);    
66 64
                                                 

Also available in: Unified diff