summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-08-21 23:30:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:46 -0500
commit23535f7d49d455042f60c1123bade66bbbf592f8 (patch)
tree79f900b3693df877f95585e2b3dd8e6dad02b5a9 /source3/smbd
parent4a6a574eb4d938a168b987188734cf7082c3187b (diff)
downloadsamba-23535f7d49d455042f60c1123bade66bbbf592f8.tar.gz
samba-23535f7d49d455042f60c1123bade66bbbf592f8.tar.bz2
samba-23535f7d49d455042f60c1123bade66bbbf592f8.zip
r17676: 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. (This used to be commit 85bf8a16116e5eb9d4400e809531737d45890abb)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 5c10c59054..117d3ac595 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1139,7 +1139,7 @@ NTSTATUS open_file_ntcreate(connection_struct *conn,
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