diff options
author | Andreas Schneider <asn@samba.org> | 2010-05-07 10:38:54 +0200 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-07-27 10:27:08 -0400 |
commit | 653364f5a38fb6ec7c6ede38b62b2b15200b9f77 (patch) | |
tree | 269a6a08ac9b2efa555d0ec61efc2c2d31385c32 /source3 | |
parent | 665eba334e96ee120f036e693c2a36167deaede2 (diff) | |
download | samba-653364f5a38fb6ec7c6ede38b62b2b15200b9f77.tar.gz samba-653364f5a38fb6ec7c6ede38b62b2b15200b9f77.tar.bz2 samba-653364f5a38fb6ec7c6ede38b62b2b15200b9f77.zip |
s3-spoolss: Removed unused function printer_info2_to_nt_printer_info2().
Signed-off-by: Jim McDonough <jmcd@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 918a8027d9..80e7c2e950 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -1653,41 +1653,6 @@ WERROR _spoolss_OpenPrinterEx(pipes_struct *p, return WERR_OK; } -/**************************************************************************** -****************************************************************************/ - -static bool printer_info2_to_nt_printer_info2(struct spoolss_SetPrinterInfo2 *r, - NT_PRINTER_INFO_LEVEL_2 *d) -{ - DEBUG(7,("printer_info2_to_nt_printer_info2\n")); - - if (!r || !d) { - return false; - } - - d->attributes = r->attributes; - d->priority = r->priority; - d->default_priority = r->defaultpriority; - d->starttime = r->starttime; - d->untiltime = r->untiltime; - d->status = r->status; - d->cjobs = r->cjobs; - - fstrcpy(d->servername, r->servername); - fstrcpy(d->printername, r->printername); - fstrcpy(d->sharename, r->sharename); - fstrcpy(d->portname, r->portname); - fstrcpy(d->drivername, r->drivername); - slprintf(d->comment, sizeof(d->comment)-1, "%s", r->comment); - fstrcpy(d->location, r->location); - fstrcpy(d->sepfile, r->sepfile); - fstrcpy(d->printprocessor, r->printprocessor); - fstrcpy(d->datatype, r->datatype); - fstrcpy(d->parameters, r->parameters); - - return true; -} - /**************************************************************** _spoolss_ClosePrinter ****************************************************************/ |