Changeset 3647
- Timestamp:
- 01/28/06 18:37:29 (3 years ago)
- Files:
-
- wired/trunk/wired/accounts.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wired/trunk/wired/accounts.c
r3551 r3647 482 482 wi_file_seek(tmpfile, 0); 483 483 484 while((string = wi_file_read(tmpfile, WI_FILE_BUFFER_SIZE))) { 484 while((string = wi_file_read_line(tmpfile))) { 485 wi_log_debug(WI_STR("'%@'"), string); 485 486 if(wi_string_length(string) > 0 && !wi_string_has_prefix(string, WI_STR("#"))) { 486 487 array = wi_string_components_separated_by_string(string, WI_STR(":")); … … 496 497 } 497 498 498 wi_file_write( tmpfile, WI_STR("%@"), string);499 wi_file_write(file, WI_STR("%@\n"), string); 499 500 500 501 wi_release(string); … … 505 506 wi_release(tmpfile); 506 507 wi_release(empty); 508 509 wi_lock_unlock(wd_users_lock); 507 510 508 511 return result;
