diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/python/py_spoolss.c | 4 | ||||
-rw-r--r-- | source3/python/py_spoolss_printers.c | 2 |
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); |