*** soup-cookie1.c	2012-06-25 12:27:15.832806514 +0530
--- soup-cookie2.c	2012-06-21 10:39:38.070956018 +0530
***************
*** 255,260 ****
--- 255,263 ----
  			cookie->expires = parse_date (&p);
  		} else if (MATCH_NAME ("httponly")) {
  			cookie->http_only = TRUE;
+ 			/* Ignore the return value as this call is required
+ 			 * to move p to the end of this atribute.
+ 			 */
  			parse_value(&p);
  		} else if (MATCH_NAME ("max-age") && has_value) {
  			char *max_age_str = parse_value (&p), *mae;
***************
*** 273,278 ****
--- 276,285 ----
  			}
  		} else if (MATCH_NAME ("secure")) {
  			cookie->secure = TRUE;
+ 			/* Ignore the return value as this call is required
+ 			 * to move p to the end of this atribute.
+ 			 */
+ 			parse_value(&p);
  		} else {
  			/* Ignore unknown attributes, but we still have
  			 * to skip over the value.
