summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-03-07 09:06:03 +0000
committerJean-François Micouleau <jfm@samba.org>2000-03-07 09:06:03 +0000
commit0f987d77becebc7d528f5fda6d0e23325035131c (patch)
tree7d4f0a08d0bef22cb74c1c64e27d5b1aacb7de38 /source3/rpc_server/srv_spoolss_nt.c
parent78d7ba5ca021518ec5c088eb492b36710e556c31 (diff)
downloadsamba-0f987d77becebc7d528f5fda6d0e23325035131c.tar.gz
samba-0f987d77becebc7d528f5fda6d0e23325035131c.tar.bz2
samba-0f987d77becebc7d528f5fda6d0e23325035131c.zip
fixed enumprinterdata.
J.F. (This used to be commit 2b4f09e7bbcbf1bf835f299e9f6bf89b32a7f03f)
Diffstat (limited to 'source3/rpc_server/srv_spoolss_nt.c')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 9d465ca145..f15fc75181 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -2483,7 +2483,7 @@ uint32 _spoolss_startdocprinter( const POLICY_HND *handle, uint32 level,
if (strcmp(datatype, "RAW") != 0)
{
(*jobid)=0;
- return STATUS_1804;
+ return ERROR_INVALID_DATATYPE;
}
}
@@ -3674,7 +3674,7 @@ uint32 _spoolss_enumprinterdata(const POLICY_HND *handle, uint32 index,
if (!get_specific_param_by_index(printer, 2, index, value, &data, &type, &data_len)) {
free_a_printer(printer, 2);
- return 0x0103; /* ERROR_NO_MORE_ITEMS */
+ return ERROR_NO_MORE_ITEMS;
}
/*