use -1 as the invalid pid number

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14559 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-02-03 12:33:45 +00:00
parent 885c805e3b
commit 77ebf59fe4

View File

@@ -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;