svn commit: samba r16653 - in trunk/source/rpcclient: .
jra at samba.org
jra at samba.org
Wed Jun 28 21:52:52 GMT 2006
Author: jra
Date: 2006-06-28 21:52:50 +0000 (Wed, 28 Jun 2006)
New Revision: 16653
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16653
Log:
Fix bug #3893 reported by jason at ncac.gwu.edu.
Jeremy.
Modified:
trunk/source/rpcclient/cmd_spoolss.c
Changeset:
Modified: trunk/source/rpcclient/cmd_spoolss.c
===================================================================
--- trunk/source/rpcclient/cmd_spoolss.c 2006-06-28 21:42:20 UTC (rev 16652)
+++ trunk/source/rpcclient/cmd_spoolss.c 2006-06-28 21:52:50 UTC (rev 16653)
@@ -1901,7 +1901,7 @@
WERROR werror;
char *servername = NULL, *printername = NULL;
BOOL got_handle = False;
- uint32 needed, offered, num_forms, level = 1, i;
+ uint32 num_forms, level = 1, i;
FORM_1 *forms;
/* Parse the command arguements */
@@ -1928,7 +1928,6 @@
/* Enumerate forms */
- offered = needed = 0;
werror = rpccli_spoolss_enumforms(cli, mem_ctx, &handle, level, &num_forms, &forms);
if (!W_ERROR_IS_OK(werror))
@@ -2156,7 +2155,7 @@
const char **argv)
{
WERROR result;
- uint32 needed, offered, level = 1, num_jobs, i;
+ uint32 level = 1, num_jobs, i;
BOOL got_hnd = False;
pstring printername;
fstring servername, user;
@@ -2191,7 +2190,6 @@
/* Enumerate ports */
- offered = needed = 0;
result = rpccli_spoolss_enumjobs(cli, mem_ctx, &hnd, level, 0, 1000,
&num_jobs, &ctr);
More information about the samba-cvs
mailing list