git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea8e0d5
)
tdb: Fix indentation in tdb_new_database()
author
Volker Lendecke
<vl@samba.org>
Thu, 25 Mar 2010 09:29:41 +0000
(10:29 +0100)
committer
Volker Lendecke
<vl@samba.org>
Thu, 25 Mar 2010 09:30:10 +0000
(10:30 +0100)
lib/tdb/common/open.c
patch
|
blob
|
history
diff --git
a/lib/tdb/common/open.c
b/lib/tdb/common/open.c
index 114ba4387bab386e4174c0286b8ecb9f24ee9248..dfe780d21b7d0d76f1484a28431ca4ed165c7fb1 100644
(file)
--- 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... */