summaryrefslogtreecommitdiffstats
path: root/source/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
commit0449756309812d854037ba0af631abad678e670e (patch)
tree79a178d0b30adbe22bd3b63a74d6d690429b92df /source/client/smbspool.c
parent7b9cb0601ce465361618fcc2c88f8195d93f130a (diff)
downloadsamba-0449756309812d854037ba0af631abad678e670e.tar.gz
samba-0449756309812d854037ba0af631abad678e670e.tar.xz
samba-0449756309812d854037ba0af631abad678e670e.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 *.
Diffstat (limited to 'source/client/smbspool.c')
-rw-r--r--source/client/smbspool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/client/smbspool.c b/source/client/smbspool.c
index f838c5de5bf..5df6bfe407e 100644
--- a/source/client/smbspool.c
+++ b/source/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);
}