/[rdesktop]/sourceforge.net/trunk/rdesktop/disk.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/disk.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1434 by matthewc, Sat Jan 5 05:43:02 2008 UTC revision 1435 by matthewc, Sat Feb 16 00:15:43 2008 UTC
# Line 853  disk_set_information(RD_NTHANDLE handle, Line 853  disk_set_information(RD_NTHANDLE handle,
853                          in_uint32_le(in, length);       /* file size */                          in_uint32_le(in, length);       /* file size */
854    
855                          /* prevents start of writing if not enough space left on device */                          /* prevents start of writing if not enough space left on device */
856                          if (STATFS_FN(g_rdpdr_device[pfinfo->device_id].local_path, &stat_fs) == 0)                          if (STATFS_FN(pfinfo->path, &stat_fs) == 0)
857                                  if (stat_fs.f_bfree * stat_fs.f_bsize < length)                                  if (stat_fs.f_bfree * stat_fs.f_bsize < length)
858                                          return RD_STATUS_DISK_FULL;                                          return RD_STATUS_DISK_FULL;
859    

Legend:
Removed from v.1434  
changed lines
  Added in v.1435

  ViewVC Help
Powered by ViewVC 1.1.26