diff options
author | Jean-François Micouleau <jfm@samba.org> | 1999-09-24 10:13:38 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 1999-09-24 10:13:38 +0000 |
commit | 13266d51155f804527206f2ad125cc28751881af (patch) | |
tree | bea9f240e0ccffe97000beb37d3ffa48f57644b8 | |
parent | 4952c11dadec468e597897f847c9968b80a3323c (diff) | |
download | samba-13266d51155f804527206f2ad125cc28751881af.tar.gz samba-13266d51155f804527206f2ad125cc28751881af.tar.bz2 samba-13266d51155f804527206f2ad125cc28751881af.zip |
Alan (alanh@pinacl.co.uk) found a nasty bug
J.F.
(This used to be commit 7dc7801c20d53caef09519231a65403e007344e6)
-rw-r--r-- | source3/rpc_parse/parse_spoolss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c index a1ee058e06..7b15ba2a42 100644 --- a/source3/rpc_parse/parse_spoolss.c +++ b/source3/rpc_parse/parse_spoolss.c @@ -2313,7 +2313,7 @@ void spoolss_io_r_enumdrivers(char *desc, SPOOL_R_ENUMPRINTERDRIVERS *r_u, prs_s for (i=0; i<r_u->numofdrivers; i++) { - bufsize_required += spoolss_size_printer_driver_info_2(&(driver_info_2[2])); + bufsize_required += spoolss_size_printer_driver_info_2(&(driver_info_2[i])); } break; } |