Only log when there are resources left.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18891 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-24 23:30:56 +00:00
parent 653bb59432
commit 32df330c53

View File

@@ -291,8 +291,9 @@ HandleOP(GoodBye)
i++;
}
logmessage(c, __FILE__, __LINE__, 0, "did not toast all resources: %d", i);
if (i != 0)
logmessage(c, __FILE__, __LINE__, 0,
"Did not toast all resources: %d", i);
return 1;
}