diff options
author | Michael Adam <obnox@samba.org> | 2010-01-06 00:37:21 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-02-12 23:12:11 +0100 |
commit | 524072b56bf659002410a817749bf86fe6f51e83 (patch) | |
tree | 90970b4dde85293c96ba7691297afb6ada739e0a /source3/lib/idmap_cache.c | |
parent | 1505b69dea6044a13a59f672e22f5833256cb981 (diff) | |
download | samba-524072b56bf659002410a817749bf86fe6f51e83.tar.gz samba-524072b56bf659002410a817749bf86fe6f51e83.tar.bz2 samba-524072b56bf659002410a817749bf86fe6f51e83.zip |
s3:dbwrap_ctdb: fix logic error in pull_newest_from_marshall_buffer().
The logic bug was that if a record was found in the marshall buffer,
then always the ctdb header of tha last record in the marshall buffer
was returned, and not the ctdb header of the last occurrence of the
requested record.
This is fixed by introducing an additional temporary variable.
Michael
Diffstat (limited to 'source3/lib/idmap_cache.c')
0 files changed, 0 insertions, 0 deletions