r5504: fix typo
authorStefan Metzmacher <metze@samba.org>
Tue, 22 Feb 2005 12:53:02 +0000 (12:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:10:52 +0000 (13:10 -0500)
metze
(This used to be commit 2bb29cc68ae795bbb4baa12501103ae9555f1898)

source4/librpc/ndr/ndr_spoolss_buf.c

index 0dcae6fad7101d54504d8bbec1b067aafc60670e..e13e912b68f26578fba2e693471f2ea4eea3f930 100644 (file)
@@ -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;\