Changeset 105 for branches/samba-3.0/source/client
- Timestamp:
- Nov 26, 2007, 9:24:27 AM (18 years ago)
- Location:
- branches/samba-3.0/source/client
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/client/client.c
r62 r105 193 193 msg[l++] = '\r'; 194 194 msg[l] = c; 195 } 196 197 if ((total_len > 0) && (strlen(msg) == 0)) { 198 break; 195 199 } 196 200 -
branches/samba-3.0/source/client/clitar.c
r22 r105 610 610 char ftype; 611 611 file_info2 finfo; 612 BOOL close_done = False;613 612 BOOL shallitime=True; 614 613 char data[65520]; … … 696 695 finfo.name, (double)finfo.size, lname)); 697 696 698 while (nread < finfo.size && !close_done){697 do { 699 698 700 699 DEBUG(3,("nread=%.0f\n",(double)nread)); … … 735 734 } 736 735 737 if ( datalen == 0) {736 if ( (datalen == 0) && (finfo.size != 0) ) { 738 737 DEBUG(0,("Error reading file %s. Got 0 bytes\n", rname)); 739 738 break; … … 741 740 742 741 datalen=0; 743 } 742 } while ( nread < finfo.size ); 744 743 745 744 if (wrote_tar_header) { -
branches/samba-3.0/source/client/umount.cifs.c
r1 r105 343 343 /* fixup path if needed */ 344 344 345 /* Trim any trailing slashes */ 346 while ((strlen(mountpoint) > 1) && 347 (mountpoint[strlen(mountpoint)-1] == '/')) 348 { 349 mountpoint[strlen(mountpoint)-1] = '\0'; 350 } 351 345 352 /* make sure that this is a cifs filesystem */ 346 353 rc = statfs(mountpoint, &statbuf);
Note:
See TracChangeset
for help on using the changeset viewer.