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:
parent
4ed429481c
commit
31514f67ae
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user