From 9f7bb48dd3ee9e884135868773b3e0123cf0f9a6 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 24 Jun 2007 13:24:20 +0000 Subject: r23594: Fix parsing of local pids if cluster support is compiled in but no cluster is used (This used to be commit 6beaa87da938f2a530939714b732fa769a28a008) --- source3/lib/util.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/lib') diff --git a/source3/lib/util.c b/source3/lib/util.c index 7a927fb3e8..c0f2c5648e 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -3143,6 +3143,10 @@ struct server_id interpret_pid(const char *pid_string) result.vnn = vnn; result.pid = pid; } + else if (sscanf(pid_string, "%u", &pid) == 1) { + result.vnn = NONCLUSTER_VNN; + result.pid = pid; + } else { result.vnn = NONCLUSTER_VNN; result.pid = -1; -- cgit