Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d912f464 authored by Andreas Huber's avatar Andreas Huber
Browse files

Note to self: Don't reverse the arguments to fseek(o)...

parent d9618f23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ status_t FileSource::getSize(off_t *size) {
        return OK;
    }

    fseek(mFile, SEEK_END, 0);
    fseek(mFile, 0, SEEK_END);
    *size = ftello(mFile);

    return OK;