diff options
author | Michael Adam <obnox@samba.org> | 2015-11-11 10:21:30 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2016-01-11 12:25:29 +0100 |
commit | 19d54157a479a0fa45720a1f2e64b26d9e1eb31d (patch) | |
tree | 258b9f10b4884deec489f0ca9328b1b0420f2c3d /lib/nss_wrapper | |
parent | 4ec47e739c024bbd2cb9ebcc310964011333eca4 (diff) | |
download | samba-19d54157a479a0fa45720a1f2e64b26d9e1eb31d.tar.gz |
nwrap: remove superfluous comments from nwrap_add_hname()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'lib/nss_wrapper')
-rw-r--r-- | lib/nss_wrapper/nss_wrapper.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/nss_wrapper/nss_wrapper.c b/lib/nss_wrapper/nss_wrapper.c index 4b93f2d01fb..bca1012b8f4 100644 --- a/lib/nss_wrapper/nss_wrapper.c +++ b/lib/nss_wrapper/nss_wrapper.c @@ -2627,7 +2627,6 @@ static bool nwrap_add_hname(struct nwrap_entdata *const ed) ENTRY *p; unsigned i; - /* Maybe it's little bit late ... */ assert(ed != NULL); assert(h_name != NULL); @@ -2637,14 +2636,12 @@ static bool nwrap_add_hname(struct nwrap_entdata *const ed) p = hsearch(e, FIND); if (p == NULL) { NWRAP_LOG(NWRAP_LOG_DEBUG, "Name %s not found. Adding...", h_name); - /* Just add alias and don't mess with metadata */ nwrap_add_hname_add_new(h_name, ed); if (ed->ed_tail == NULL) { ed->ed_tail = ed; } } else { - /* Element found. Add them to end of list */ struct nwrap_entdata *ed_dst = (struct nwrap_entdata *)p->data; assert(p->data != NULL); @@ -2652,7 +2649,6 @@ static bool nwrap_add_hname(struct nwrap_entdata *const ed) nwrap_add_hname_add_to_existing(ed, ed_dst); } - /* Return true when list of aliases is empty */ if (ed->ht.h_aliases == NULL) { return true; } |