]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:gencache: simply stabilize() a bit more: remove error from state
authorMichael Adam <obnox@samba.org>
Thu, 26 Jun 2014 14:56:41 +0000 (16:56 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sat, 24 Jan 2015 21:16:09 +0000 (22:16 +0100)
commit0810b532ba752feb0c6660daa9636ffe0fea3441
tree7f6e70889069ec6ecd887cfd0c84b0312f6adb06
parent12ea070c029bd63e7654829a8b8fe05b4bbcca8f
s3:gencache: simply stabilize() a bit more: remove error from state

state.error is set to true if and only if the traverse
callback returns error (-1), and hence only if the traverse
fails.

Hence the the error state is redundant.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit d240cf7894f076a2ed2b6bc434f20a93cfbb1ca4)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11032
source3/lib/gencache.c