Changeset 58 in libcf


Ignore:
Timestamp:
04/07/13 03:29:37 (11 years ago)
Author:
cheese
Message:

#1 fix missed code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/cf_file.c

    r55 r58  
    168168    ASSERT_ARGS (buf == NULL);
    169169
    170     (int) write (fd, buf, len);
     170    result = (int) write (fd, buf, len);
    171171
    172172    if (result != len)
     
    190190    ASSERT_ARGS (fd < 0);
    191191
    192     (int) lseek (fd, 0, SEEK_END);
     192    result = (int) lseek (fd, 0, SEEK_END);
    193193
    194194    if (result < 0 || lseek (fd, 0, SEEK_SET) < 0)
Note: See TracChangeset for help on using the changeset viewer.