1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

fix small bug in enumprinterdataex due to my changes (still more lurking

though).
(This used to be commit 2feb89601fc45dea13fe45a55a9c058726a5de84)
This commit is contained in:
Gerald Carter 2002-08-16 16:46:50 +00:00
parent 4ed429481c
commit 31514f67ae

View File

@ -8113,9 +8113,11 @@ WERROR _spoolss_enumprinterdataex(pipes_struct *p, SPOOL_Q_ENUMPRINTERDATAEX *q_
/* keep track of the size of the array in bytes */
needed += spoolss_size_printer_enum_values(&enum_values[num_entries]);
needed += spoolss_size_printer_enum_values(&enum_values[i]);
}
/* housekeeping information in the reply */
r_u->needed = needed;
r_u->returned = num_entries;