rpc_parse: Unify spoolss debug messages.
authorKarolin Seeger <kseeger@samba.org>
Tue, 22 Jul 2008 19:43:43 +0000 (21:43 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 22 Jul 2008 19:46:14 +0000 (21:46 +0200)
Karolin
(This used to be commit 5ab391d466ce9ddea31f6f6bf467aa6c5f3a7efb)

source3/rpc_parse/parse_spoolss.c

index f2d3b53772c0b41ab8a8cf274e7898d0d589444e..78a80a019b173c7ba95d1bf0027855ee407efc0e 100644 (file)
@@ -1164,7 +1164,7 @@ bool spoolss_io_r_open_printer(const char *desc, SPOOL_R_OPEN_PRINTER *r_u, prs_
        if (!smb_io_pol_hnd("printer handle",&(r_u->handle),ps,depth))
                return False;   
 
-       if (!prs_werror("status code", ps, depth, &(r_u->status)))
+       if (!prs_werror("status", ps, depth, &(r_u->status)))
                return False;
                
        return True;
@@ -1225,7 +1225,7 @@ bool spoolss_io_r_open_printer_ex(const char *desc, SPOOL_R_OPEN_PRINTER_EX *r_u
        if (!smb_io_pol_hnd("printer handle",&(r_u->handle),ps,depth))
                return False;
 
-       if (!prs_werror("status code", ps, depth, &(r_u->status)))
+       if (!prs_werror("status", ps, depth, &(r_u->status)))
                return False;
 
        return True;