doh... fseek() has no useful return value

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-01-05 00:18:46 +00:00
parent 07f8542ce7
commit 18ab6f429c
2 changed files with 4 additions and 2 deletions

View File

@@ -179,7 +179,8 @@ static int pcm_seek(struct ast_filestream *fs, long sample_offset, int whence)
long cur, max, offset;
cur = ftell(fs->f);
max = fseek(fs->f, 0, SEEK_END);
fseek(fs->f, 0, SEEK_END);
max = ftell(fs->f);
switch (whence) {
case SEEK_SET:

View File

@@ -254,7 +254,8 @@ static int pcm_seek(struct ast_filestream *fs, long sample_offset, int whence)
long cur, max, offset;
cur = ftell(fs->f);
max = fseek(fs->f, 0, SEEK_END);
fseek(fs->f, 0, SEEK_END);
max = ftell(fs->f);
switch (whence) {
case SEEK_SET: