diff options
author | Günther Deschner <gd@samba.org> | 2010-04-23 03:03:59 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-23 03:03:59 +0200 |
commit | 587921b7da93cc02386193ac4c3354db4717fa3f (patch) | |
tree | 15a426e121ef9eeeeb267c2d71f6d5bdb5049c1f /source4/torture | |
parent | 20133cfe560f2bd84b5c2ebab9dc25b0c98efeb9 (diff) | |
download | samba-587921b7da93cc02386193ac4c3354db4717fa3f.tar.gz samba-587921b7da93cc02386193ac4c3354db4717fa3f.tar.bz2 samba-587921b7da93cc02386193ac4c3354db4717fa3f.zip |
s4-smbtorture: fix test_EnumPrinterDrivers_findone().
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/spoolss.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index fbcdc156a5..711f4df1e5 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -532,28 +532,28 @@ static bool test_EnumPrinterDrivers_findone(struct torture_context *tctx, const char *driver_name_ret; switch (level) { case 1: - driver_name_ret = info->info1.driver_name; + driver_name_ret = info[i].info1.driver_name; break; case 2: - driver_name_ret = info->info2.driver_name; + driver_name_ret = info[i].info2.driver_name; break; case 3: - driver_name_ret = info->info3.driver_name; + driver_name_ret = info[i].info3.driver_name; break; case 4: - driver_name_ret = info->info4.driver_name; + driver_name_ret = info[i].info4.driver_name; break; case 5: - driver_name_ret = info->info5.driver_name; + driver_name_ret = info[i].info5.driver_name; break; case 6: - driver_name_ret = info->info6.driver_name; + driver_name_ret = info[i].info6.driver_name; break; case 7: - driver_name_ret = info->info7.driver_name; + driver_name_ret = info[i].info7.driver_name; break; case 8: - driver_name_ret = info->info8.driver_name; + driver_name_ret = info[i].info8.driver_name; break; default: break; |