ZOOM C: fix un-init var for cookie buffer
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 20 Jul 2011 09:02:13 +0000 (11:02 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 20 Jul 2011 09:02:13 +0000 (11:02 +0200)
src/zoom-c.c

index 77aa3e5..d6821d6 100644 (file)
@@ -1507,7 +1507,7 @@ static zoom_ret send_HTTP_redirect(ZOOM_connection c, const char *uri,
 {
     struct Z_HTTP_Header *h;
     Z_GDU *gdu = get_HTTP_Request_url(c->odr_out, uri);
-    char *combined_cookies;
+    char *combined_cookies = 0;
     int combined_cookies_len = 0;
 
     gdu->u.HTTP_Request->method = odr_strdup(c->odr_out, "GET");