summaryrefslogtreecommitdiff
path: root/source3/client/smbspool.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-02-22 03:31:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:43 -0500
commit37ea9da1fdf7eac31bb0d7ced407d49e3f5900bc (patch)
treea5506e4f579d466bcf348103bea20b28bd83694b /source3/client/smbspool.c
parent0b451e5cab1ff361de255b53bfc968ac175e3420 (diff)
downloadsamba-37ea9da1fdf7eac31bb0d7ced407d49e3f5900bc.tar.gz
samba-37ea9da1fdf7eac31bb0d7ced407d49e3f5900bc.tar.bz2
samba-37ea9da1fdf7eac31bb0d7ced407d49e3f5900bc.zip
r5495: * add in some code from Mike Nix <mnix@wanm.com.au> for the SMBsplopen
and SMBsplclose commands (BUG 2010) * clarify some debug messages in smbspool (also from Mike) my changes: * start adding msdfs client routines * enable smbclient to maintain multiple connections * set the CAP_DFS flag for our internal clienht routines. I actualy have a dfs referral working in do_cd() but that code is too ugly to live so I'm not checking it in just yet. Further work is to merge with vl's changes in trunk to support multiple TIDs per cli_state *. (This used to be commit 0449756309812d854037ba0af631abad678e670e)
Diffstat (limited to 'source3/client/smbspool.c')
-rw-r--r--source3/client/smbspool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c
index f838c5de5b..5df6bfe407 100644
--- a/source3/client/smbspool.c
+++ b/source3/client/smbspool.c
@@ -339,7 +339,7 @@ smb_print(struct cli_state *cli, /* I - SMB connection */
if ((fnum = cli_open(cli, title, O_RDWR | O_CREAT | O_TRUNC, DENY_NONE)) == -1)
{
- fprintf(stderr, "ERROR: %s opening remote file %s\n",
+ fprintf(stderr, "ERROR: %s opening remote spool %s\n",
cli_errstr(cli), title);
return (1);
}
@@ -357,7 +357,7 @@ smb_print(struct cli_state *cli, /* I - SMB connection */
{
if (cli_write(cli, fnum, 0, buffer, tbytes, nbytes) != nbytes)
{
- fprintf(stderr, "ERROR: Error writing file: %s\n", cli_errstr(cli));
+ fprintf(stderr, "ERROR: Error writing spool: %s\n", cli_errstr(cli));
break;
}
@@ -366,7 +366,7 @@ smb_print(struct cli_state *cli, /* I - SMB connection */
if (!cli_close(cli, fnum))
{
- fprintf(stderr, "ERROR: %s closing remote file %s\n",
+ fprintf(stderr, "ERROR: %s closing remote spool %s\n",
cli_errstr(cli), title);
return (1);
}