svn commit: samba r17676 - in branches/SAMBA_3_0/source/smbd: .

jra at samba.org jra at samba.org
Mon Aug 21 23:30:41 GMT 2006


Author: jra
Date: 2006-08-21 23:30:39 +0000 (Mon, 21 Aug 2006)
New Revision: 17676

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17676

Log:
Fix printing bug found by kukks. Don't copy a return
value into an auto on the stack that gets removed when
we return from the frame :-).
Jeremy.

Modified:
   branches/SAMBA_3_0/source/smbd/open.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/open.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/open.c	2006-08-21 23:13:06 UTC (rev 17675)
+++ branches/SAMBA_3_0/source/smbd/open.c	2006-08-21 23:30:39 UTC (rev 17676)
@@ -1139,7 +1139,7 @@
 
 		DEBUG(10, ("open_file_ntcreate: printer open fname=%s\n", fname));
 
-		return print_fsp_open(conn, fname, &fsp);
+		return print_fsp_open(conn, fname, result);
 	}
 
 	/* We add aARCH to this as this mode is only used if the file is



More information about the samba-cvs mailing list