git.samba.org
/
rusty
/
ctdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tdb: Fix indentation in tdb_new_database()
[rusty/ctdb.git]
/
lib
/
tdb
/
common
/
open.c
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... */