summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2014-01-19 10:53:03 +0000
committerwm4 <wm4@nowhere>2014-01-31 19:04:15 +0100
commit74a3c169b50d20a423dc2923e0a671e58b29b4eb (patch)
treecee0ef93ea4344fcf418d7d39545f68d67ad0e8e
parent34d9787fcf94beddef339b20908cb5a154329914 (diff)
downloadmpv-74a3c169b50d20a423dc2923e0a671e58b29b4eb.tar.bz2
mpv-74a3c169b50d20a423dc2923e0a671e58b29b4eb.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
-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;