libctdb: fix wrong argument being handed to callback on attachdb fail
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 4 Jun 2010 04:04:06 +0000 (13:34 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 4 Jun 2010 04:04:06 +0000 (13:34 +0930)
commit8626b6d7d4e5c747b6bac9d5e5b2cd302b6e144c
tree648e8066205b79847aabf4c1da20b5ee8431a34a
parentd42ea3b1892f6a4abd1dbcf822d0a4d5db422d38
libctdb: fix wrong argument being handed to callback on attachdb fail

When attachdb failed, we were handing the db, not the user-supplied
arg to the callback.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
libctdb/ctdb.c