git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7161cb1
)
tdb: Fix indentation in tdb_new_database()
author
Volker Lendecke
<vl@samba.org>
Thu, 22 Apr 2010 04:28:07 +0000
(13:58 +0930)
committer
Rusty 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
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... */