mirror of
https://github.com/samba-team/samba.git
synced 2025-12-10 04:23:50 +03:00
Rename new_policy_hnd_object() to new_spoolss_policy_hnd_object()
This commit is contained in:
@@ -28,8 +28,8 @@ PyObject *spoolss_error, *spoolss_werror;
|
|||||||
* Routines to convert from python hashes to Samba structures
|
* Routines to convert from python hashes to Samba structures
|
||||||
*/
|
*/
|
||||||
|
|
||||||
PyObject *new_policy_hnd_object(struct cli_state *cli, TALLOC_CTX *mem_ctx,
|
PyObject *new_spoolss_policy_hnd_object(struct cli_state *cli,
|
||||||
POLICY_HND *pol)
|
TALLOC_CTX *mem_ctx, POLICY_HND *pol)
|
||||||
{
|
{
|
||||||
spoolss_policy_hnd_object *o;
|
spoolss_policy_hnd_object *o;
|
||||||
|
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ PyObject *spoolss_openprinter(PyObject *self, PyObject *args, PyObject *kw)
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
result = new_policy_hnd_object(cli, mem_ctx, &hnd);
|
result = new_spoolss_policy_hnd_object(cli, mem_ctx, &hnd);
|
||||||
|
|
||||||
done:
|
done:
|
||||||
SAFE_FREE(computer_name);
|
SAFE_FREE(computer_name);
|
||||||
|
|||||||
Reference in New Issue
Block a user