Skip to content
Snippets Groups Projects
Commit 1e9180d0 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

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: https://origsvn.digium.com/svn/asterisk/trunk@7808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent cb2f9640
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment