diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-05-27 06:54:16 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-05-27 06:54:16 +0000 |
| commit | 38413489305efad4f682534f92c5daa031f5440a (patch) | |
| tree | 4151bd55b138d11673bd90ee68b4746d5eecd48c /apps/plugins | |
| parent | e387a2238e506234e51ebcaf614b7ed4e00a4271 (diff) | |
| download | rockbox-38413489305efad4f682534f92c5daa031f5440a.zip rockbox-38413489305efad4f682534f92c5daa031f5440a.tar.gz rockbox-38413489305efad4f682534f92c5daa031f5440a.tar.bz2 rockbox-38413489305efad4f682534f92c5daa031f5440a.tar.xz | |
Patch by Alexandre Bourget, fixes the hanging iriverify plugin issue when converting already converted files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6526 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/iriverify.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/plugins/iriverify.c b/apps/plugins/iriverify.c index 9e7cdfb..7b5c218 100644 --- a/apps/plugins/iriverify.c +++ b/apps/plugins/iriverify.c @@ -109,11 +109,8 @@ static int write_file(void) str_begin = buf_ptr; } - /* Ok, skip a char */ - buf_ptr++; - - /* until ... */ - } while(buf_ptr < stringbuffer + readsize); + /* Next char, until ... */ + } while(buf_ptr++ < stringbuffer + readsize); rb->close(fd); |