diff options
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index b62a7c0e68..d0473ed62a 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -447,7 +447,7 @@ static bool set_printer_hnd_name(TALLOC_CTX *mem_ctx, int n_services=lp_numservices(); char *aprinter; const char *printername; - const char *servername; + const char *servername = NULL; fstring sname; bool found = false; struct spoolss_PrinterInfo2 *info2 = NULL; |