From cbaec00d9859fbe631f487a4e9ce657d65d7af52 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sun, 31 Dec 2006 00:33:42 +0000 Subject: [PATCH] fix return value on windows --- src/sigar_ptql.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sigar_ptql.c b/src/sigar_ptql.c index 9d4178a1..29d2515d 100644 --- a/src/sigar_ptql.c +++ b/src/sigar_ptql.c @@ -456,6 +456,7 @@ static int ptql_branch_init_pid(ptql_parse_branch_t *parsed, branch->flags = PTQL_PID_SERVICE; branch->data = strdup(parsed->value); branch->data_size = strlen(parsed->value); + return SIGAR_OK; #else return SIGAR_PTQL_MALFORMED_QUERY; #endif