From 77ebf59fe4aeed441e9233f1807cbe7f61b48be5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 3 Feb 2005 12:33:45 +0000 Subject: [PATCH] use -1 as the invalid pid number git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14559 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kcm/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcm/protocol.c b/kcm/protocol.c index 7afd8ad1d..3469050da 100644 --- a/kcm/protocol.c +++ b/kcm/protocol.c @@ -1011,7 +1011,7 @@ kcm_dispatch(krb5_context context, return ENOMEM; } - if (client->pid == 0) { + if (client->pid == -1) { kcm_log(0, "Client had invalid process number"); ret = KRB5_FCC_INTERNAL; goto out;