summaryrefslogtreecommitdiff
path: root/source3/rpc_client/msrpc_spoolss.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-07-25 06:42:05 +0000
committerTim Potter <tpot@samba.org>2001-07-25 06:42:05 +0000
commit648528196ca136469d82b83cd2ba89b1b30290ae (patch)
tree518288bd589393ca6485f7f5ca4ec829e85404a0 /source3/rpc_client/msrpc_spoolss.c
parent9de7c5e52155ee869605884526b9895ad58c0312 (diff)
downloadsamba-648528196ca136469d82b83cd2ba89b1b30290ae.tar.gz
samba-648528196ca136469d82b83cd2ba89b1b30290ae.tar.bz2
samba-648528196ca136469d82b83cd2ba89b1b30290ae.zip
Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.
According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-: (This used to be commit 2e339403605177b15d5185a8fdd1b06f3f043168)
Diffstat (limited to 'source3/rpc_client/msrpc_spoolss.c')
-rw-r--r--source3/rpc_client/msrpc_spoolss.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/source3/rpc_client/msrpc_spoolss.c b/source3/rpc_client/msrpc_spoolss.c
index 4938178352..4c0d3f4999 100644
--- a/source3/rpc_client/msrpc_spoolss.c
+++ b/source3/rpc_client/msrpc_spoolss.c
@@ -250,7 +250,7 @@ BOOL msrpc_spoolss_enum_printers(char* srv_name, uint32 flags,
needed, &needed, &returned);
}
- if (status!=NT_STATUS_NO_PROBLEMO)
+ if (status!=NT_STATUS_NOPROBLEMO)
{
DEBUG(0,("spoolss_enum_printers: %s\n", get_nt_error_msg(status)));
if (mem_ctx)
@@ -316,7 +316,7 @@ BOOL msrpc_spoolss_enum_ports(char* srv_name,
report(out_hnd, "\tstatus:[%d (%x)]\n", status, status);
- if (status!=NT_STATUS_NO_PROBLEMO)
+ if (status!=NT_STATUS_NOPROBLEMO)
{
if (mem_ctx)
talloc_destroy(mem_ctx);
@@ -405,7 +405,7 @@ uint32 msrpc_spoolss_getprinterdata( const char* printer_name,
if (mem_ctx)
talloc_destroy(mem_ctx);
- if (status != NT_STATUS_NO_PROBLEMO)
+ if (status != NT_STATUS_NOPROBLEMO)
{
if (!spoolss_closeprinter(&hnd))
return NT_STATUS_ACCESS_DENIED;
@@ -462,7 +462,7 @@ BOOL msrpc_spoolss_enum_jobs( const char* printer_name,
if (mem_ctx)
talloc_destroy(mem_ctx);
- if (status!=NT_STATUS_NO_PROBLEMO) {
+ if (status!=NT_STATUS_NOPROBLEMO) {
if (!spoolss_closeprinter(&hnd))
return False;
return False;
@@ -540,7 +540,7 @@ BOOL msrpc_spoolss_enum_printerdata( const char* printer_name,
value, rvaluelen, type, datalen, data, rdatalen);
- if (status!=NT_STATUS_NO_PROBLEMO) {
+ if (status!=NT_STATUS_NOPROBLEMO) {
/*
* the check on this if statement is redundant
* since is the status is bad we're going to
@@ -589,7 +589,7 @@ BOOL msrpc_spoolss_getprinter( const char* printer_name, const uint32 level,
report(out_hnd, "\tstatus:[%d (%x)]\n", status, status);
- if (status!=NT_STATUS_NO_PROBLEMO)
+ if (status!=NT_STATUS_NOPROBLEMO)
{
if (mem_ctx)
talloc_destroy(mem_ctx);
@@ -618,7 +618,7 @@ BOOL msrpc_spoolss_getprinter( const char* printer_name, const uint32 level,
if (mem_ctx)
talloc_destroy(mem_ctx);
- if (status!=NT_STATUS_NO_PROBLEMO) {
+ if (status!=NT_STATUS_NOPROBLEMO) {
if (!spoolss_closeprinter(&hnd))
return False;
return False;
@@ -662,7 +662,7 @@ BOOL msrpc_spoolss_getprinterdriver( const char* printer_name,
/* report(out_hnd, "\tstatus:[%d (%x)]\n", status, status); */
- if (status!=NT_STATUS_NO_PROBLEMO)
+ if (status!=NT_STATUS_NOPROBLEMO)
{
if (mem_ctx)
talloc_destroy(mem_ctx);
@@ -688,7 +688,7 @@ BOOL msrpc_spoolss_getprinterdriver( const char* printer_name,
if (mem_ctx)
talloc_destroy(mem_ctx);
- if (status!=NT_STATUS_NO_PROBLEMO) {
+ if (status!=NT_STATUS_NOPROBLEMO) {
if (!spoolss_closeprinter(&hnd))
return False;
return False;
@@ -731,7 +731,7 @@ BOOL msrpc_spoolss_enumprinterdrivers( const char* srv_name,
report(out_hnd, "\tstatus:[%d (%x)]\n", status, status);
- if (status!=NT_STATUS_NO_PROBLEMO)
+ if (status!=NT_STATUS_NOPROBLEMO)
{
if (mem_ctx)
talloc_destroy(mem_ctx);
@@ -788,7 +788,7 @@ BOOL msrpc_spoolss_getprinterdriverdir(char* srv_name, char* env_name, uint32 le
report(out_hnd, "\tstatus:[%d (%x)]\n", status, status);
- if (status!=NT_STATUS_NO_PROBLEMO)
+ if (status!=NT_STATUS_NOPROBLEMO)
{
if (mem_ctx)
talloc_destroy(mem_ctx);