}
/* Try to get a property that does not exist */
- char *noexist="Nonexisent";
+ char noexist[]="Nonexisent";
const char *value = gras_process_property_value(noexist);
if ( value == NULL)
INFO1("Process property: %s is undefined", noexist);
/* Modify an existing property. First check it exists */\
INFO0("Trying to modify a process property");
- char *exist="otherprop";
+ char exist[]="otherprop";
value = gras_process_property_value(exist);
if ( value == NULL)
INFO1("\tProperty: %s is undefined", exist);
}
/* Try to get a property that does not exist */
- char *noexist="Nonexisent";
+ char noexist[]="Nonexisent";
const char *value = gras_os_host_property_value(noexist);
if ( value == NULL)
INFO1("Host property: %s is undefined", noexist);
}
/* Try to get a property that does not exist */
- char *noexist="Unknown";
- const char*value = MSG_host_get_property_value(slaves[i-4],noexist);
+ char noexist[]="Unknown";
+ const char*value = MSG_host_get_property_value(slaves[i-4], noexist);
if ( value == NULL)
INFO2("Property: %s for host %s is undefined", noexist, argv[i]);
else
- INFO3("Property: %s for host %s has value: %s", noexist, argv[i], value);
+ INFO3("Property: %s for host %s has value: %s",(char*) noexist, argv[i], value);
/* Modify an existing property test. First check it exists */\
INFO0("Trying to modify a host property");
- char *exist="Hdd";
+ char exist[]="Hdd";
value = MSG_host_get_property_value(slaves[i-4],exist);
if ( value == NULL)
INFO1("\tProperty: %s is undefined", exist);
}
/* Try to get a property that does not exist */
- char *noexist="UnknownProcessProp";
+ char noexist[]="UnknownProcessProp";
const char *value = MSG_process_get_property_value(MSG_process_self(),noexist);
if ( value == NULL)
INFO2("Property: %s for process %s is undefined", noexist, MSG_process_get_name(MSG_process_self()));
}
/* Try to get a property that does not exist */
- char *noexist="NoProp";
+ char noexist[]="NoProp";
const char *value = SD_workstation_get_property_value(w1,noexist);
if ( value == NULL)
INFO1("\tProperty: %s is undefined", noexist);
/* Modify an existing property test. First check it exists */\
INFO0("Modify an host existing property");
- char *exist="Hdd";
+ char exist[]="Hdd";
value = SD_workstation_get_property_value(w2,exist);
if ( value == NULL)
INFO1("\tProperty: %s is undefined", exist);