summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-04-14 23:42:54 +0000
committerTim Potter <tpot@samba.org>2002-04-14 23:42:54 +0000
commit9aabbc564f3d8b9080b9047665a7212c29e9c1f0 (patch)
tree4f968181829742863dc02c990ddc682184796aeb /source3
parent0c01601d31c401bc17747f91e72db82cd7454266 (diff)
downloadsamba-9aabbc564f3d8b9080b9047665a7212c29e9c1f0.tar.gz
samba-9aabbc564f3d8b9080b9047665a7212c29e9c1f0.tar.bz2
samba-9aabbc564f3d8b9080b9047665a7212c29e9c1f0.zip
Rename new_policy_hnd_object() to new_spoolss_policy_hnd_object()
(This used to be commit 4bf6a9830acde47994975dffd578454ebb75e45a)
Diffstat (limited to 'source3')
-rw-r--r--source3/python/py_spoolss.c4
-rw-r--r--source3/python/py_spoolss_printers.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/python/py_spoolss.c b/source3/python/py_spoolss.c
index b92e3c1758..c87b6626fe 100644
--- a/source3/python/py_spoolss.c
+++ b/source3/python/py_spoolss.c
@@ -28,8 +28,8 @@ PyObject *spoolss_error, *spoolss_werror;
* Routines to convert from python hashes to Samba structures
*/
-PyObject *new_policy_hnd_object(struct cli_state *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *pol)
+PyObject *new_spoolss_policy_hnd_object(struct cli_state *cli,
+ TALLOC_CTX *mem_ctx, POLICY_HND *pol)
{
spoolss_policy_hnd_object *o;
diff --git a/source3/python/py_spoolss_printers.c b/source3/python/py_spoolss_printers.c
index decc52e080..69b2733cfb 100644
--- a/source3/python/py_spoolss_printers.c
+++ b/source3/python/py_spoolss_printers.c
@@ -75,7 +75,7 @@ PyObject *spoolss_openprinter(PyObject *self, PyObject *args, PyObject *kw)
goto done;
}
- result = new_policy_hnd_object(cli, mem_ctx, &hnd);
+ result = new_spoolss_policy_hnd_object(cli, mem_ctx, &hnd);
done:
SAFE_FREE(computer_name);