winbindd_cache: simplify logic in new key length check for UA keys.
commite489f3d988feafe35b486b31a9e60c2399e6a6e7
authorMichael Adam <obnox@samba.org>
Wed, 23 Apr 2008 12:55:51 +0000 (23 14:55 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 23 Apr 2008 12:55:51 +0000 (23 14:55 +0200)
treefb9576cf90c7990c9b3c3b5071a097eea6e0c6c8
parentfcd35232e111f9b046ae35d939d08c29d0d43438
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
source/winbindd/winbindd_cache.c