summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-23 12:55:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:23 -0500
commit52e90b4ad993486b8be82050530953889f55b3fc (patch)
treef5f161e2c526f6914aa006d2a790fb46cebc7ab4
parent36b1a0f82de812fafb2bf75b3fe5b29cb789cdbc (diff)
downloadsamba-52e90b4ad993486b8be82050530953889f55b3fc.tar.gz
samba-52e90b4ad993486b8be82050530953889f55b3fc.tar.bz2
samba-52e90b4ad993486b8be82050530953889f55b3fc.zip
r13080: fix crash bug
metze (This used to be commit 0372438000dec9640a2888d44c3114c18ec625ab)
-rw-r--r--source4/wrepl_server/wrepl_scavenging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/wrepl_server/wrepl_scavenging.c b/source4/wrepl_server/wrepl_scavenging.c
index a11dae7a06..a251fcba52 100644
--- a/source4/wrepl_server/wrepl_scavenging.c
+++ b/source4/wrepl_server/wrepl_scavenging.c
@@ -323,7 +323,7 @@ static void verify_handler(struct irpc_request *ireq)
}
}
} else if (NT_STATUS_IS_OK(status) && rec->type == WREPL_TYPE_GROUP) {
- if (s->r.out.num_addrs != 1 || strcmp(s->r.out.addrs[i].addr, "255.255.255.255") != 0) {
+ if (s->r.out.num_addrs != 1 || strcmp(s->r.out.addrs[0].addr, "255.255.255.255") != 0) {
different = True;
}
}