diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/librpc/ndr/ndr_spoolss_buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/ndr/ndr_spoolss_buf.c b/source4/librpc/ndr/ndr_spoolss_buf.c index 0dcae6fad7..e13e912b68 100644 --- a/source4/librpc/ndr/ndr_spoolss_buf.c +++ b/source4/librpc/ndr/ndr_spoolss_buf.c @@ -41,7 +41,7 @@ ndr2->offset = 0;\ NDR_CHECK(ndr_push_##type(ndr2, NDR_SCALARS|NDR_BUFFERS, r->in.level, &(*r->out.info)[i]));\ }\ - if (*r->in.buf_size >= ndr->offset) {\ + if (*r->in.buf_size >= ndr2->offset) {\ buffer = data_blob_const(ndr2->data, ndr2->offset);\ } else {\ r->out.info = NULL;\ |