s3-spoolss: Fixed debug statements and increased level.
authorAndreas Schneider <asn@samba.org>
Thu, 29 Jul 2010 18:45:07 +0000 (20:45 +0200)
committerAndreas Schneider <asn@samba.org>
Thu, 29 Jul 2010 18:45:07 +0000 (20:45 +0200)
source3/rpc_server/srv_spoolss_util.c

index 768171a2772ab62c4e35c8a681deeeaeb85f303e..138f4f75761921b9a79f5bf5d619e77651ba12f1 100644 (file)
@@ -904,7 +904,7 @@ static WERROR winreg_printer_query_binary(TALLOC_CTX *mem_ctx,
                                          &value_len,
                                          &result);
        if (!NT_STATUS_IS_OK(status)) {
-               DEBUG(0, ("winreg_printer_query_dword: Could not query value %s: %s\n",
+               DEBUG(2, ("winreg_printer_query_binary: Could not query value %s: %s\n",
                          wvalue.name, nt_errstr(status)));
                if (!W_ERROR_IS_OK(result)) {
                        goto done;
@@ -934,7 +934,7 @@ static WERROR winreg_printer_query_binary(TALLOC_CTX *mem_ctx,
                                          &value_len,
                                          &result);
        if (!NT_STATUS_IS_OK(status)) {
-               DEBUG(0, ("winreg_printer_query_dword: Could not query value %s: %s\n",
+               DEBUG(2, ("winreg_printer_query_binary: Could not query value %s: %s\n",
                          wvalue.name, nt_errstr(status)));
                if (!W_ERROR_IS_OK(result)) {
                        result = ntstatus_to_werror(status);
@@ -975,7 +975,7 @@ static WERROR winreg_printer_query_dword(TALLOC_CTX *mem_ctx,
                                          &value_len,
                                          &result);
        if (!NT_STATUS_IS_OK(status)) {
-               DEBUG(0, ("winreg_printer_query_dword: Could not query value %s: %s\n",
+               DEBUG(2, ("winreg_printer_query_dword: Could not query value %s: %s\n",
                          wvalue.name, nt_errstr(status)));
                if (!W_ERROR_IS_OK(result)) {
                        goto done;
@@ -1011,7 +1011,7 @@ static WERROR winreg_printer_query_dword(TALLOC_CTX *mem_ctx,
                                          &value_len,
                                          &result);
        if (!NT_STATUS_IS_OK(status)) {
-               DEBUG(0, ("winreg_printer_query_dword: Could not query value %s: %s\n",
+               DEBUG(2, ("winreg_printer_query_dword: Could not query value %s: %s\n",
                          wvalue.name, nt_errstr(status)));
                if (!W_ERROR_IS_OK(result)) {
                        result = ntstatus_to_werror(status);