diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/python/py_spoolss_jobs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/python/py_spoolss_jobs.c b/source3/python/py_spoolss_jobs.c index cc5d42e0ee..59754bd36d 100644 --- a/source3/python/py_spoolss_jobs.c +++ b/source3/python/py_spoolss_jobs.c @@ -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; } |