diff options
author | Tim Potter <tpot@samba.org> | 2002-09-03 03:20:21 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-09-03 03:20:21 +0000 |
commit | f02b14f7c61496950178e4c8a41d9c68c983d51d (patch) | |
tree | c73d1a5264a629e5a4273709f1fb396d5bda7e65 /source3/rpcclient | |
parent | 70a132c2d94cc0d5df25b542360ea62156d10c9f (diff) | |
download | samba-f02b14f7c61496950178e4c8a41d9c68c983d51d.tar.gz samba-f02b14f7c61496950178e4c8a41d9c68c983d51d.tar.bz2 samba-f02b14f7c61496950178e4c8a41d9c68c983d51d.zip |
Change JOB_INFO_CTR to return a pointer to an array rather than array of pointers.
(This used to be commit e9b71b354d923b2cd0f028dd197e7ca81339ec3a)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_spoolss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index 2ab90365a7..bd399196eb 100644 --- a/source3/rpcclient/cmd_spoolss.c +++ b/source3/rpcclient/cmd_spoolss.c @@ -1785,10 +1785,10 @@ static NTSTATUS cmd_spoolss_enum_jobs(struct cli_state *cli, for (i = 0; i < num_jobs; i++) { switch(level) { case 1: - display_job_info_1(ctr.job.job_info_1[i]); + display_job_info_1(&ctr.job.job_info_1[i]); break; case 2: - display_job_info_2(ctr.job.job_info_2[i]); + display_job_info_2(&ctr.job.job_info_2[i]); break; default: d_printf("unknown info level %d\n", level); |