fix return value on windows

This commit is contained in:
Doug MacEachern 2006-12-31 00:33:42 +00:00
parent 4ae984efd5
commit cbaec00d98
1 changed files with 1 additions and 0 deletions

View File

@ -456,6 +456,7 @@ static int ptql_branch_init_pid(ptql_parse_branch_t *parsed,
branch->flags = PTQL_PID_SERVICE; branch->flags = PTQL_PID_SERVICE;
branch->data = strdup(parsed->value); branch->data = strdup(parsed->value);
branch->data_size = strlen(parsed->value); branch->data_size = strlen(parsed->value);
return SIGAR_OK;
#else #else
return SIGAR_PTQL_MALFORMED_QUERY; return SIGAR_PTQL_MALFORMED_QUERY;
#endif #endif