summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-05-25 15:47:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:12 -0500
commitfdb68ec206c81d6affe6c3740366a27add2d94fa (patch)
tree456116b263588f81ce617b228d35923484dc1f55
parenta835b9500a30c647c90a050eb9655bf89ae27e05 (diff)
downloadsamba-fdb68ec206c81d6affe6c3740366a27add2d94fa.tar.gz
samba-fdb68ec206c81d6affe6c3740366a27add2d94fa.tar.bz2
samba-fdb68ec206c81d6affe6c3740366a27add2d94fa.zip
r15890: Use correct enum type (bug #3722) from Jason Mader <jason@ncac.gwu.edu>.
Jeremy. (This used to be commit a8eb1186a12b44178a28b013373f6f8a4356d9ec)
-rw-r--r--source3/utils/smbcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index ad05f8e948..0c6a1341c0 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -890,7 +890,7 @@ static BOOL do_winbind_offline(const struct process_id pid,
ret = send_message(pid, MSG_WINBIND_OFFLINE, NULL, 0, False);
/* Check that the entry "WINBINDD_OFFLINE" still exists. */
- tdb->ecode = 0;
+ tdb->ecode = TDB_SUCCESS;
d = tdb_fetch_bystring( tdb, "WINBINDD_OFFLINE" );
/* As this is a key with no data we don't need to free, we