dect
/
asterisk
Archived
13
0
Fork 0

Merged revisions 7807 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7807 | kpfleming | 2006-01-04 18:18:46 -0600 (Wed, 04 Jan 2006) | 2 lines

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

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7808 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
kpfleming 2006-01-05 00:19:18 +00:00
parent 5b2cf44b13
commit 9be22a04ed
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: