~ubuntu-branches/ubuntu/lucid/samba/lucid-proposed

« back to all changes in this revision

Viewing changes to source/client/smbspool.c

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-07-21 17:53:23 UTC
  • mfrom: (0.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050721175323-m3oh6aoigywohfnq
Tags: 3.0.14a-6ubuntu1
Resynchronise with Debian, resolving merge conflicts (#12360)

Show diffs side-by-side

added added

removed removed

Lines of Context:
339
339
 
340
340
  if ((fnum = cli_open(cli, title, O_RDWR | O_CREAT | O_TRUNC, DENY_NONE)) == -1)
341
341
  {
342
 
    fprintf(stderr, "ERROR: %s opening remote file %s\n",
 
342
    fprintf(stderr, "ERROR: %s opening remote spool %s\n",
343
343
            cli_errstr(cli), title);
344
344
    return (1);
345
345
  }
357
357
  {
358
358
    if (cli_write(cli, fnum, 0, buffer, tbytes, nbytes) != nbytes)
359
359
    {
360
 
      fprintf(stderr, "ERROR: Error writing file: %s\n", cli_errstr(cli));
 
360
      fprintf(stderr, "ERROR: Error writing spool: %s\n", cli_errstr(cli));
361
361
      break;
362
362
    }
363
363
 
366
366
 
367
367
  if (!cli_close(cli, fnum))
368
368
  {
369
 
    fprintf(stderr, "ERROR: %s closing remote file %s\n",
 
369
    fprintf(stderr, "ERROR: %s closing remote spool %s\n",
370
370
            cli_errstr(cli), title);
371
371
    return (1);
372
372
  }