tdb: Fix indentation in tdb_new_database()
authorVolker Lendecke <vl@samba.org>
Thu, 22 Apr 2010 04:28:07 +0000 (13:58 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 22 Apr 2010 04:28:07 +0000 (13:58 +0930)
(Imported from commit 59315887a07033316edf91c0c57563eee5ea992d)

lib/tdb/common/open.c

index 114ba4387bab386e4174c0286b8ecb9f24ee9248..dfe780d21b7d0d76f1484a28431ca4ed165c7fb1 100644 (file)
@@ -92,7 +92,7 @@ static int tdb_new_database(struct tdb_context *tdb, int hash_size)
                size -= written;
                written = write(tdb->fd, newdb+written, size);
                if (written == size) {
-               ret = 0;
+                       ret = 0;
                } else if (written >= 0) {
                        /* a second incomplete write - we give up.
                         * guessing the errno... */