s3:registry: flush the provided subkey_ctr in regdb_fetch_keys_internal()
authorMichael Adam <obnox@samba.org>
Wed, 15 Jul 2009 10:50:55 +0000 (12:50 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 15 Jul 2009 12:01:58 +0000 (14:01 +0200)
commit78576117eb4292e4e2750928d5f84c2edc94192f
treeafe09eff694c385493f1c157e56b469bfa7d8f38
parent92df5e4a0243bde6fbc5261bf6758090c4c35eee
s3:registry: flush the provided subkey_ctr in regdb_fetch_keys_internal()

This way, we always return what has really been read from the db,
and not more. The callers assume exactly this, but one could hand
in an already pre-filled subkey container...

Michael
source3/registry/reg_backend_db.c