openneb_xmlrpcTest.patch

Robert Schweikert, 07/08/2011 06:48 PM

Download (1.27 KB)

View differences:

share/scons/get_xmlrpc_config
69 69
        vector<xmlrpc_c::value> const paramArrayValue(resultArray.vectorValueValue());
70 70

  
71 71
        //check posible Errors:
72
        xmlrpc_c::value * firstvalue;
73
        firstvalue = &(static_cast<xmlrpc_c::value>(paramArrayValue[0]));
74
        xmlrpc_c::value_boolean * status = &(static_cast<xmlrpc_c::value_boolean>(*firstvalue));
72
	xmlrpc_c::value fval = static_cast<xmlrpc_c::value>(paramArrayValue[0]);
73
        xmlrpc_c::value * firstvalue = &(fval);
74
	xmlrpc_c::value_boolean stat = static_cast<xmlrpc_c::value_boolean>(*firstvalue);
75
        xmlrpc_c::value_boolean * status = &(stat);
75 76

  
76
        xmlrpc_c::value * secondvalue;
77
        secondvalue = &(static_cast<xmlrpc_c::value>(paramArrayValue[1]));
78
        xmlrpc_c::value_string * valueS = &(static_cast<xmlrpc_c::value_string>(*secondvalue));
77
        xmlrpc_c::value sval = static_cast<xmlrpc_c::value>(paramArrayValue[1]);
78
        xmlrpc_c::value * secondvalue = &(sval);
79
	xmlrpc_c::value_string valStr = static_cast<xmlrpc_c::value_string>(*secondvalue);
80
        xmlrpc_c::value_string * valueS = &(valStr);
79 81

  
80 82
        if(static_cast<bool>(*status)) {
81 83
            //Success, returns the id assigned to the VM: