1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r13372: fixes ... still no joy

(This used to be commit 0e2cca9153)
This commit is contained in:
Simo Sorce 2006-02-06 22:55:34 +00:00 committed by Gerald (Jerry) Carter
parent 2b163e64f5
commit f7def09a1e

View File

@ -755,6 +755,10 @@ static BOOL encode_vlv_request(void *mem_ctx, void *in, DATA_BLOB *out)
}
if (lvrc->type == 0) {
if (!asn1_push_tag(&data, ASN1_SEQUENCE(0))) {
return False;
}
if (!asn1_write_Integer(&data, lvrc->match.byOffset.offset)) {
return False;
}
@ -762,6 +766,10 @@ static BOOL encode_vlv_request(void *mem_ctx, void *in, DATA_BLOB *out)
if (!asn1_write_Integer(&data, lvrc->match.byOffset.contentCount)) {
return False;
}
if (!asn1_pop_tag(&data)) {
return False;
}
} else {
if (!asn1_write_OctetString(&data, lvrc->match.gtOrEq.value, lvrc->match.gtOrEq.value_len)) {