CVS update: samba/source/rpc_server
Tim Potter
tpot at samba.org
Sun Feb 17 05:19:35 EST 2002
Date: Sun Feb 17 05:19:35 2002
Author: tpot
Update of /data/cvs/samba/source/rpc_server
In directory va:/tmp/cvs-serv9990/rpc_server
Modified Files:
Tag: APPLIANCE_HEAD
srv_spoolss_nt.c
Log Message:
Save sizeof(DEVICEMODE) * (sizeof(print queue) - 1) bytes when calling
enumjobs level 2. Instead of allocating a devicemode for each job use a
pointer to one prepared earlier when calling fill_job_info_2().
Also, in enumjobs_level2() we have sufficient information to return
ERROR_INSUFFICIENT_BUFFER slightly earlier in the piece.
Revisions:
srv_spoolss_nt.c 1.95.2.120 => 1.95.2.121
http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss_nt.c?r1=1.95.2.120&r2=1.95.2.121
More information about the samba-cvs
mailing list