git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b56cc5b
)
net: Align integer types, move variable closer to its use
author
Volker Lendecke
<vl@samba.org>
Tue, 2 Jun 2020 13:44:12 +0000
(15:44 +0200)
committer
Jeremy Allison
<jra@samba.org>
Thu, 4 Jun 2020 17:11:39 +0000
(17:11 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/utils/net_rpc_printer.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_rpc_printer.c
b/source3/utils/net_rpc_printer.c
index db86256dd1e4e8fe2ef6d750ce33bb59d51c4791..af035a9b52e9f5fff36e07bef1fa7408408f6523 100644
(file)
--- a/
source3/utils/net_rpc_printer.c
+++ b/
source3/utils/net_rpc_printer.c
@@
-1254,13
+1254,12
@@
NTSTATUS rpc_printer_driver_list_internals(struct net_context *c,
uint32_t i;
uint32_t level = 3;
union spoolss_DriverInfo *info;
- int d;
printf(_("listing printer-drivers\n"));
for (i=0; archi_table[i].long_archi!=NULL; i++) {
- uint32_t num_drivers;
+ uint32_t
d,
num_drivers;
/* enum remote drivers */
if (!net_spoolss_enumprinterdrivers(pipe_hnd, mem_ctx, level,