summaryrefslogtreecommitdiff
path: root/source4/ntvfs/print
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-28 08:27:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:48 -0500
commit4ddb2d347d86818a13d71d0eb2f0f8983c2cc41f (patch)
treeead976b86dc26d251caa010a307e03abba8e7da3 /source4/ntvfs/print
parent0aba9a2e3fc222625f31cc6fd12f1c7c7021c660 (diff)
downloadsamba-4ddb2d347d86818a13d71d0eb2f0f8983c2cc41f.tar.gz
samba-4ddb2d347d86818a13d71d0eb2f0f8983c2cc41f.tar.bz2
samba-4ddb2d347d86818a13d71d0eb2f0f8983c2cc41f.zip
r1279: rename struct tcon_context to smbsrv_tcon
metze (This used to be commit 99473fab4b1ff87a795f3c08f4c521d9beb504c0)
Diffstat (limited to 'source4/ntvfs/print')
-rw-r--r--source4/ntvfs/print/vfs_print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/print/vfs_print.c b/source4/ntvfs/print/vfs_print.c
index f56b906501..a2ac429458 100644
--- a/source4/ntvfs/print/vfs_print.c
+++ b/source4/ntvfs/print/vfs_print.c
@@ -37,7 +37,7 @@ static NTSTATUS print_connect(struct request_context *req, const char *sharename
/*
disconnect from a share
*/
-static NTSTATUS print_disconnect(struct tcon_context *conn)
+static NTSTATUS print_disconnect(struct smbsrv_tcon *tcon)
{
return NT_STATUS_OK;
}
@@ -71,7 +71,7 @@ static NTSTATUS print_ioctl(struct request_context *req, union smb_ioctl *io)
p = io->ioctl.out.blob.data;
SSVAL(p,0, 1 /* REWRITE: fsp->rap_print_jobid */);
push_string(NULL, p+2, lp_netbios_name(), 15, STR_TERMINATE|STR_ASCII);
- push_string(NULL, p+18, lp_servicename(req->conn->service), 13, STR_TERMINATE|STR_ASCII);
+ push_string(NULL, p+18, lp_servicename(req->tcon->service), 13, STR_TERMINATE|STR_ASCII);
return NT_STATUS_OK;
}