1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-07 20:23:50 +03:00

Rename new_policy_hnd_object() to new_spoolss_policy_hnd_object()

This commit is contained in:
Tim Potter
-
parent 45cb1fed49
commit 4bf6a9830a
2 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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);