diff options
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 5840283eab..6583640726 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -4263,10 +4263,10 @@ WERROR _spoolss_GetPrinter(pipes_struct *p, do { \ if (in && strlen(in)) { \ out = talloc_strdup(mem_ctx, in); \ - W_ERROR_HAVE_NO_MEMORY(out); \ } else { \ - out = NULL; \ + out = talloc_strdup(mem_ctx, ""); \ } \ + W_ERROR_HAVE_NO_MEMORY(out); \ } while (0); #define FILL_DRIVER_UNC_STRING(mem_ctx, server, arch, ver, in, out) \ |