summaryrefslogtreecommitdiffstats
path: root/stream/cookies.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/cookies.c')
-rw-r--r--stream/cookies.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/cookies.c b/stream/cookies.c
index 6c8d5013aa..b7e89c79e6 100644
--- a/stream/cookies.c
+++ b/stream/cookies.c
@@ -133,7 +133,7 @@ static char *load_file(const char *filename, off_t * length)
return NULL;
}
- lseek(fd, SEEK_SET, 0);
+ lseek(fd, 0, SEEK_SET);
if (!(buffer = malloc(*length + 1))) {
mp_msg(MSGT_NETWORK, MSGL_V, "Could not malloc.");