spoolss_io_devmode private data is binary and should be shown in hex,
authorMartin Pool <mbp@samba.org>
Thu, 8 Nov 2001 03:12:22 +0000 (03:12 +0000)
committerMartin Pool <mbp@samba.org>
Thu, 8 Nov 2001 03:12:22 +0000 (03:12 +0000)
not ascii.
(This used to be commit be5d32eb9c58bb1911299d095efcf230d50ed590)

source3/rpc_parse/parse_spoolss.c

index b86c595c6465b537bd27417446b473056b9a0dd9..5a13403fee522b36222b72988392e70d02cd6d73 100644 (file)
@@ -633,7 +633,8 @@ BOOL spoolss_io_devmode(char *desc, prs_struct *ps, int depth, DEVICEMODE *devmo
                }
                        
                DEBUG(7,("spoolss_io_devmode: parsing [%d] bytes of private\n",devmode->driverextra));
-               if (!prs_uint8s(True, "private",  ps, depth, devmode->private, devmode->driverextra))
+               if (!prs_uint8s(False, "private",  ps, depth,
+                               devmode->private, devmode->driverextra))
                        return False;
        }