summaryrefslogtreecommitdiffstats
path: root/source4/ntptr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-02 18:02:04 +0100
committerGünther Deschner <gd@samba.org>2009-03-06 14:28:28 +0100
commit007f3f231914eaa3fe9ce83c95e0db49d67151d2 (patch)
tree7ab067b5f0535c24678762c4e6d1aed8caad2892 /source4/ntptr
parent8bc7bb77bebcac9b10f2718f879d92813fe275da (diff)
downloadsamba-007f3f231914eaa3fe9ce83c95e0db49d67151d2.tar.gz
samba-007f3f231914eaa3fe9ce83c95e0db49d67151d2.tar.xz
samba-007f3f231914eaa3fe9ce83c95e0db49d67151d2.zip
s4-spoolss: fix spoolss server enum calls after pointer changes.
Guenther
Diffstat (limited to 'source4/ntptr')
-rw-r--r--source4/ntptr/simple_ldb/ntptr_simple_ldb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c
index 459babce0ee..aea5d08c3f3 100644
--- a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c
+++ b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c
@@ -259,7 +259,7 @@ static WERROR sptr_EnumPrintServerForms(struct ntptr_GenericHandle *server, TALL
return WERR_UNKNOWN_LEVEL;
}
- r->out.info = info;
+ *r->out.info = info;
*r->out.count = count;
return WERR_OK;
}
@@ -587,7 +587,7 @@ static WERROR sptr_EnumPrinters(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx
return WERR_UNKNOWN_LEVEL;
}
- r->out.info = info;
+ *r->out.info = info;
*r->out.count = count;
return WERR_OK;
}
@@ -645,7 +645,7 @@ static WERROR sptr_EnumPorts(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx,
return WERR_UNKNOWN_LEVEL;
}
- r->out.info = info;
+ *r->out.info = info;
*r->out.count = count;
return WERR_OK;
}
@@ -692,7 +692,7 @@ static WERROR sptr_EnumMonitors(struct ntptr_context *ntptr, TALLOC_CTX *mem_ctx
return WERR_UNKNOWN_LEVEL;
}
- r->out.info = info;
+ *r->out.info = info;
*r->out.count = count;
return WERR_OK;
}