summaryrefslogtreecommitdiffstats
path: root/stream/cookies.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2014-01-19 10:53:03 +0000
committerwm4 <wm4@nowhere>2014-01-19 12:58:03 +0100
commit55ea419ae32fa81df3835886ae82aa0b6916905c (patch)
treead13fc4274e96a6da6b4682acba9337611be07aa /stream/cookies.c
parent8e2f301ee4db04cefecf5aac80cc73737c40b118 (diff)
downloadmpv-55ea419ae32fa81df3835886ae82aa0b6916905c.tar.bz2
mpv-55ea419ae32fa81df3835886ae82aa0b6916905c.tar.xz
cookies.c: cols must (and does) have 7 elements.
Doesn't affect the generated code, but avoids confusion in both humans and newer Coverity versions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36623 b3059339-0415-0410-9bf9-f77b7e298cf2
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 4b5b7b2e14..a12122f0ac 100644
--- a/stream/cookies.c
+++ b/stream/cookies.c
@@ -61,7 +61,7 @@ static char *col_dup(void *talloc_ctx, const char *src)
}
/* Finds the start of all the columns */
-static int parse_line(char **ptr, char *cols[6])
+static int parse_line(char **ptr, char *cols[7])
{
int col;
cols[0] = *ptr;