From 73447cd88fc785f097e83328cddc2b3fc22e862f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 19 Feb 2004 21:22:52 +0000 Subject: [PATCH] (_krb5_xlock): handle that everything was ok, and don't put an error in the error strings then git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13390 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/fcache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/krb5/fcache.c b/lib/krb5/fcache.c index d558d91a9..98eff7eed 100644 --- a/lib/krb5/fcache.c +++ b/lib/krb5/fcache.c @@ -87,6 +87,8 @@ _krb5_xlock(krb5_context context, int fd, krb5_boolean exclusive, ret = EAGAIN; switch (ret) { + case 0: + break; case EINVAL: /* filesystem doesn't support locking, let the user have it */ ret = 0; break;