summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-25 10:29:41 +0100
committerVolker Lendecke <vl@samba.org>2010-03-25 10:30:10 +0100
commit59315887a07033316edf91c0c57563eee5ea992d (patch)
tree44835033c43a27fba8079810ef24ae09b2dc5f1c /lib
parentea8e0d5d54b020c530e392c4edaeed43e20af303 (diff)
downloadsamba-59315887a07033316edf91c0c57563eee5ea992d.tar.gz
samba-59315887a07033316edf91c0c57563eee5ea992d.tar.bz2
samba-59315887a07033316edf91c0c57563eee5ea992d.zip
tdb: Fix indentation in tdb_new_database()
Diffstat (limited to 'lib')
-rw-r--r--lib/tdb/common/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/common/open.c b/lib/tdb/common/open.c
index 114ba4387b..dfe780d21b 100644
--- a/lib/tdb/common/open.c
+++ b/lib/tdb/common/open.c
@@ -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... */