vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Thu Sep 15 
13:51:44 2016 +0300| [a3bf1e0433eed1197e1e463db7f476be67c6fbe7] | committer: 
Rémi Denis-Courmont

cookies: missing initializers

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a3bf1e0433eed1197e1e463db7f476be67c6fbe7
---

 src/misc/httpcookies.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/misc/httpcookies.c b/src/misc/httpcookies.c
index 5eb4d74..bbfc0e9 100644
--- a/src/misc/httpcookies.c
+++ b/src/misc/httpcookies.c
@@ -203,6 +203,9 @@ static http_cookie_t *cookie_parse(const char *value,
     if (unlikely(cookie == NULL))
         return NULL;
 
+    cookie->psz_domain = NULL
+    cookie->psz_path = NULL;
+
     /* Get the NAME=VALUE part of the Cookie */
     size_t value_length = strcspn(value, ";");
     const char *p = memchr(value, '=', value_length);

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to