diff options
author | Günther Deschner <gd@samba.org> | 2009-02-16 16:41:48 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-17 16:15:52 +0100 |
commit | 9877f3d574392681ef121f8c9c038596f6d333dc (patch) | |
tree | e2d337029fd8e10514ee2eb4026e383db73a37f5 /source4/ntptr/simple_ldb | |
parent | 742270eb2dd521fa5010786536f000823fb67188 (diff) | |
download | samba-9877f3d574392681ef121f8c9c038596f6d333dc.tar.gz samba-9877f3d574392681ef121f8c9c038596f6d333dc.tar.bz2 samba-9877f3d574392681ef121f8c9c038596f6d333dc.zip |
s4-spoolss: fix spoolss server after out,ref count pointer changes.
Guenther
Diffstat (limited to 'source4/ntptr/simple_ldb')
-rw-r--r-- | source4/ntptr/simple_ldb/ntptr_simple_ldb.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c index 073fd9992c..c570b03a35 100644 --- a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c +++ b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c @@ -260,7 +260,7 @@ static WERROR sptr_EnumPrintServerForms(struct ntptr_GenericHandle *server, TALL } r->out.info = info; - r->out.count = count; + *r->out.count = count; return WERR_OK; } @@ -588,7 +588,7 @@ static WERROR sptr_EnumPrinters(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx } r->out.info = info; - r->out.count = count; + *r->out.count = count; return WERR_OK; } @@ -646,7 +646,7 @@ static WERROR sptr_EnumPorts(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx, } r->out.info = info; - r->out.count = count; + *r->out.count = count; return WERR_OK; } @@ -693,8 +693,7 @@ static WERROR sptr_EnumMonitors(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx } r->out.info = info; - r->out.count = count; - return WERR_OK; + *r->out.count = count; return WERR_OK; } |