mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Sed error. The status value in the PRINTER_INFO_2 structure isn't a WERROR
but a plain old uint32.
This commit is contained in:
parent
7bfd1f35e4
commit
690cc12bad
@ -231,7 +231,7 @@ typedef struct nt_printer_info_level_2
|
||||
uint32 default_priority;
|
||||
uint32 starttime;
|
||||
uint32 untiltime;
|
||||
WERROR status;
|
||||
uint32 status;
|
||||
uint32 cjobs;
|
||||
uint32 averageppm;
|
||||
fstring servername;
|
||||
|
@ -1314,7 +1314,7 @@ typedef struct spool_printer_info_level_2
|
||||
uint32 default_priority;
|
||||
uint32 starttime;
|
||||
uint32 untiltime;
|
||||
WERROR status;
|
||||
uint32 status;
|
||||
uint32 cjobs;
|
||||
uint32 averageppm;
|
||||
UNISTR2 servername;
|
||||
|
@ -2576,7 +2576,7 @@ static uint32 dump_a_printer(NT_PRINTER_INFO_LEVEL printer, uint32 level)
|
||||
DEBUGADD(106,("default_priority:[%d]\n", info2->default_priority));
|
||||
DEBUGADD(106,("starttime:[%d]\n", info2->starttime));
|
||||
DEBUGADD(106,("untiltime:[%d]\n", info2->untiltime));
|
||||
DEBUGADD(106,("status:[%s]\n", werror_str(info2->status)));
|
||||
DEBUGADD(106,("status:[%d]\n", info2->status));
|
||||
DEBUGADD(106,("cjobs:[%d]\n", info2->cjobs));
|
||||
DEBUGADD(106,("averageppm:[%d]\n", info2->averageppm));
|
||||
DEBUGADD(106,("changeid:[%d]\n", info2->changeid));
|
||||
|
@ -4332,7 +4332,7 @@ BOOL spool_io_printer_info_level_2(char *desc, SPOOL_PRINTER_INFO_LEVEL_2 *il, p
|
||||
return False;
|
||||
if(!prs_uint32("untiltime", ps, depth, &il->untiltime))
|
||||
return False;
|
||||
if(!prs_werror("status", ps, depth, &il->status))
|
||||
if(!prs_uint32("status", ps, depth, &il->status))
|
||||
return False;
|
||||
if(!prs_uint32("cjobs", ps, depth, &il->cjobs))
|
||||
return False;
|
||||
|
Loading…
Reference in New Issue
Block a user