winbindd_cache: simplify logic in new key length check for UA keys.
commitb3161ef66b4ba939353e53b9b79a0bc01e53d369
authorMichael Adam <obnox@samba.org>
Wed, 23 Apr 2008 12:55:51 +0000 (23 14:55 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 5 May 2008 11:56:16 +0000 (5 13:56 +0200)
treed80bc4f40239077dc9306425ddf269c5f2dc14a7
parent937f7a2873573c1547b1e610c86b467b5f842e1d
winbindd_cache: simplify logic in new key length check for UA keys.

This reduces indentation by combining common code paths,
and wraps long lines.

Holger: sorry, I could not resist. I think it is much easier to
understand what is going on when we only have one check and
determine the max allowed key length in advance.

Michael
(cherry picked from commit e489f3d988feafe35b486b31a9e60c2399e6a6e7)
source/winbindd/winbindd_cache.c