Changeset 732 for branches/samba-3.5.x/source3/client
- Timestamp:
- Nov 12, 2012, 4:35:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.5.x/source3/client/client.c
r593 r732 1669 1669 if (!NT_STATUS_IS_OK(status)) { 1670 1670 d_fprintf(stderr, "cli_push returned %s\n", nt_errstr(status)); 1671 rc = 1; 1671 1672 } 1672 1673 … … 1701 1702 if (f == x_stdin) { 1702 1703 cli_shutdown(cli); 1703 exit( 0);1704 exit(rc); 1704 1705 } 1705 1706 … … 2305 2306 2306 2307 if (!NT_STATUS_IS_OK(cli_posix_open(targetcli, targetname, O_CREAT|O_RDWR, mode, &fnum))) { 2307 if ( !NT_STATUS_IS_OK(cli_posix_open(targetcli, targetname, O_CREAT|O_RDONLY, mode, &fnum))) {2308 d_printf("posix_open file %s: for read /writefnum %d\n", targetname, fnum);2308 if (NT_STATUS_IS_OK(cli_posix_open(targetcli, targetname, O_CREAT|O_RDONLY, mode, &fnum))) { 2309 d_printf("posix_open file %s: for readonly fnum %d\n", targetname, fnum); 2309 2310 } else { 2310 2311 d_printf("Failed to open file %s. %s\n", targetname, cli_errstr(cli));
Note:
See TracChangeset
for help on using the changeset viewer.