mirror of
https://github.com/samba-team/samba.git
synced 2025-01-28 17:47:29 +03:00
Initialise result on success in cli_spoolss_enum_printers() so we don't get
stuck in an infinite loop. (This used to be commit fe1fb6589a0a4b4cff7a0ee0267f6e09e10e2a85)
This commit is contained in:
parent
71c04c5f9f
commit
9164ed6220
@ -439,6 +439,8 @@ NTSTATUS cli_spoolss_enum_printers(
|
||||
goto done;
|
||||
}
|
||||
|
||||
result = NT_STATUS_OK;
|
||||
|
||||
if ((*returned = r.returned)) {
|
||||
switch (level) {
|
||||
case 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user