diff options
author | Tim Potter <tpot@samba.org> | 2002-09-03 04:58:36 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-09-03 04:58:36 +0000 |
commit | 45664627c78e118c65f4d34a44eac3485b97f99e (patch) | |
tree | 01eda5f11dfb3e64a5183f0d8964684045435d4f /source3/python | |
parent | 9a4110d3d13effc260940b012b8af4ba057462de (diff) | |
download | samba-45664627c78e118c65f4d34a44eac3485b97f99e.tar.gz samba-45664627c78e118c65f4d34a44eac3485b97f99e.tar.bz2 samba-45664627c78e118c65f4d34a44eac3485b97f99e.zip |
Fixed enumjobs command to use new JOB_INFO_CTR structure.
(This used to be commit 9db5be03617740e705bce51784fdb80784779acb)
Diffstat (limited to 'source3/python')
-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; } |