set Pid.Service flag regardless of platform

This commit is contained in:
Doug MacEachern 2007-04-15 19:49:01 +00:00
parent 886f04adea
commit 1ca7d3227f
1 changed files with 1 additions and 1 deletions

View File

@ -621,8 +621,8 @@ static int ptql_branch_init_pid(ptql_parse_branch_t *parsed,
return SIGAR_OK;
}
else if (strEQ(parsed->attr, "Service")) {
#ifdef WIN32
branch->flags = PTQL_PID_SERVICE;
#ifdef WIN32
branch->data.str = strdup(parsed->value);
branch->data_size = strlen(parsed->value);
#endif