diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-10 01:26:34 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-10 01:26:34 +1000 |
commit | 557cc460f24e00dc6ede087772a5800e39e4ea63 (patch) | |
tree | 1fb8d86d18424358a8b53c0e306afbbc65f60115 | |
parent | a84a82335c8a76885f1637be391dff0b1c25734e (diff) | |
download | samba-557cc460f24e00dc6ede087772a5800e39e4ea63.tar.gz samba-557cc460f24e00dc6ede087772a5800e39e4ea63.tar.bz2 samba-557cc460f24e00dc6ede087772a5800e39e4ea63.zip |
s4/vampire: fixed i/j index mixup in vampire code
-rw-r--r-- | source4/libnet/libnet_vampire.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c index ec1545e6a4..5e516afaee 100644 --- a/source4/libnet/libnet_vampire.c +++ b/source4/libnet/libnet_vampire.c @@ -234,9 +234,9 @@ static NTSTATUS vampire_apply_schema(struct vampire_state *s, for (j=0; j < a->value_ctr.num_values; j++) { uint32_t val = 0xFFFFFFFF; - if (a->value_ctr.values[i].blob - && a->value_ctr.values[i].blob->length == 4) { - val = IVAL(a->value_ctr.values[i].blob->data,0); + if (a->value_ctr.values[j].blob + && a->value_ctr.values[j].blob->length == 4) { + val = IVAL(a->value_ctr.values[j].blob->data,0); } if (val == DRSUAPI_OBJECTCLASS_attributeSchema) { |