mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
Fixed enumjobs command to use new JOB_INFO_CTR structure.
(This used to be commit 9db5be0361
)
This commit is contained in:
@ -150,10 +150,10 @@ PyObject *spoolss_hnd_getjob(PyObject *self, PyObject *args, PyObject *kw)
|
||||
|
||||
switch(level) {
|
||||
case 1:
|
||||
py_from_JOB_INFO_1(&result, ctr.job.job_info_1);
|
||||
py_from_JOB_INFO_1(&result, &ctr.job.job_info_1[0]);
|
||||
break;
|
||||
case 2:
|
||||
py_from_JOB_INFO_2(&result, ctr.job.job_info_2);
|
||||
py_from_JOB_INFO_2(&result, &ctr.job.job_info_2[0]);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user