diff options
Diffstat (limited to 'source3/rpc_parse')
-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; } |