svn commit: samba r16654 - in branches/SAMBA_3_0/source/rpcclient: .
jra at samba.org
jra at samba.org
Wed Jun 28 21:52:58 GMT 2006
Author: jra
Date: 2006-06-28 21:52:56 +0000 (Wed, 28 Jun 2006)
New Revision: 16654
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16654
Log:
Fix bug #3893 reported by jason at ncac.gwu.edu.
Jeremy.
Modified:
branches/SAMBA_3_0/source/rpcclient/cmd_spoolss.c
Changeset:
Modified: branches/SAMBA_3_0/source/rpcclient/cmd_spoolss.c
===================================================================
--- branches/SAMBA_3_0/source/rpcclient/cmd_spoolss.c 2006-06-28 21:52:50 UTC (rev 16653)
+++ branches/SAMBA_3_0/source/rpcclient/cmd_spoolss.c 2006-06-28 21:52:56 UTC (rev 16654)
@@ -1895,7 +1895,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 */
@@ -1922,7 +1922,6 @@
/* Enumerate forms */
- offered = needed = 0;
werror = rpccli_spoolss_enumforms(cli, mem_ctx, &handle, level, &num_forms, &forms);
if (!W_ERROR_IS_OK(werror))
@@ -2150,7 +2149,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;
@@ -2185,7 +2184,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