summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-05-03 16:48:31 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-05-03 16:48:31 +0000
commit999357a69781d0aa2d8f177ac53b3ac212268c35 (patch)
tree638790b0b68307711923d0bbeb9a3e75fadfed78
parent841f3e913660ddab5ba7165aae009f0232f9abb0 (diff)
downloadsamba-999357a69781d0aa2d8f177ac53b3ac212268c35.tar.gz
samba-999357a69781d0aa2d8f177ac53b3ac212268c35.tar.bz2
samba-999357a69781d0aa2d8f177ac53b3ac212268c35.zip
name_unregister_work() using strequal incorrectly.
lkcl (This used to be commit 1d1143fb6f6ba2b4c28bedf3985c162860d451ff)
-rw-r--r--source3/nameelect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nameelect.c b/source3/nameelect.c
index d3804f2b71..4aacee55d4 100644
--- a/source3/nameelect.c
+++ b/source3/nameelect.c
@@ -407,7 +407,7 @@ void become_domain_master(struct subnet_record *d, struct work_record *work)
not a workgroup
*/
- if ((!work) || (!d)) return;
+ if (!work || !d) return;
DEBUG(2,("Becoming domain master for %s %s (currently at stage %d)\n",
work->work_group,inet_ntoa(d->bcast_ip),work->dom_state));