tdb: Fix a comment
authorVolker Lendecke <vl@samba.org>
Mon, 29 Sep 2014 09:22:09 +0000 (09:22 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 30 Sep 2014 21:08:07 +0000 (23:08 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Sep 30 23:08:07 CEST 2014 on sn-devel-104

lib/tdb/common/tdb.c

index ae98c9619d1c1b6f70c799b083acf72278abb57b..9885d8cfc9dff95264f547d211f665f093e62497 100644 (file)
@@ -511,7 +511,7 @@ static int _tdb_store(struct tdb_context *tdb, TDB_DATA key,
                        goto fail;
                }
        }
-       /* reset the error code potentially set by the tdb_update() */
+       /* reset the error code potentially set by the tdb_update_hash() */
        tdb->ecode = TDB_SUCCESS;
 
        /* delete any existing record - if it doesn't exist we don't