summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-03-15 07:11:18 +0000
committerGerald Carter <jerry@samba.org>2001-03-15 07:11:18 +0000
commita9dda48d653810b8f20b3b72f07cc060e2b2e3cd (patch)
tree16aa87507934e5cd5dc269ebe2295cf4623a2b88
parenta8d396f25ed483371e5085ae14000b194af1e70b (diff)
downloadsamba-a9dda48d653810b8f20b3b72f07cc060e2b2e3cd.tar.gz
samba-a9dda48d653810b8f20b3b72f07cc060e2b2e3cd.tar.bz2
samba-a9dda48d653810b8f20b3b72f07cc060e2b2e3cd.zip
renamed one of the enumprinterdrivers parsing functions
for consistency sake. (This used to be commit cbce0c935099231af51a34460c6b331822fde213)
-rw-r--r--source3/rpc_parse/parse_spoolss.c4
-rwxr-xr-xsource3/rpc_server/srv_spoolss.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index 7a4f0b57ef..c6da6ca6fe 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -3761,9 +3761,9 @@ BOOL spoolss_io_q_setjob(char *desc, SPOOL_Q_SETJOB *q_u, prs_struct *ps, int de
Parse a SPOOL_R_ENUMPRINTERDRIVERS structure.
********************************************************************/
-BOOL new_spoolss_io_r_enumprinterdrivers(char *desc, SPOOL_R_ENUMPRINTERDRIVERS *r_u, prs_struct *ps, int depth)
+BOOL spoolss_io_r_enumprinterdrivers(char *desc, SPOOL_R_ENUMPRINTERDRIVERS *r_u, prs_struct *ps, int depth)
{
- prs_debug(ps, depth, desc, "new_spoolss_io_r_enumprinterdrivers");
+ prs_debug(ps, depth, desc, "spoolss_io_r_enumprinterdrivers");
depth++;
if (!prs_align(ps))
diff --git a/source3/rpc_server/srv_spoolss.c b/source3/rpc_server/srv_spoolss.c
index 126581ba80..1932c6f927 100755
--- a/source3/rpc_server/srv_spoolss.c
+++ b/source3/rpc_server/srv_spoolss.c
@@ -712,8 +712,8 @@ static BOOL api_spoolss_enumprinterdrivers(pipes_struct *p)
r_u.status = _spoolss_enumprinterdrivers(p, &q_u, &r_u);
- if (!new_spoolss_io_r_enumprinterdrivers("",&r_u,rdata,0)) {
- DEBUG(0,("new_spoolss_io_r_enumprinterdrivers: unable to marshall SPOOL_R_ENUMPRINTERDRIVERS.\n"));
+ if (!spoolss_io_r_enumprinterdrivers("",&r_u,rdata,0)) {
+ DEBUG(0,("spoolss_io_r_enumprinterdrivers: unable to marshall SPOOL_R_ENUMPRINTERDRIVERS.\n"));
return False;
}