Ignore:
Timestamp:
Aug 21, 2012, 7:12:10 PM (12 years ago)
Author:
katerina
Message:

Fix for tickets #303, #304, #305. #306, and #307. Update version number.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_login_track.c

    r383 r405  
    296296          struct sh_track_entry * entry = urecord->list;
    297297         
    298           while (entry)
     298          while (entry && (n > 0))
    299299            {
    300               fwrite(&(entry->data), sizeof(struct sh_track_entry_data),
    301                     1, fp);
     300              n = fwrite(&(entry->data), sizeof(struct sh_track_entry_data),
     301                        1, fp);
    302302              entry = entry->next;
    303303            }
Note: See TracChangeset for help on using the changeset viewer.