1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

Attempt to fix Coverity ID 596

Jeremy, please check & push if it's ok.
This commit is contained in:
Volker Lendecke 2008-08-16 11:12:35 +02:00 committed by Jeremy Allison
parent 31ca7b2dbb
commit f06070c188

View File

@ -217,7 +217,7 @@ static NTSTATUS rids_to_names(struct winbindd_domain *domain,
(*names)[i] = CONST_DISCARD(char *, nam);
}
if (domain_name == NULL) {
if (*domain_name == NULL) {
*domain_name = CONST_DISCARD(char *, dom);
} else {
char *dname = CONST_DISCARD(char *, dom);