Commit e358a24a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

reset the numcookies counter too (I missed it in the previous commit)

parent 9da9d00c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -788,6 +788,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
        /* clear all cookies */
        Curl_cookie_freelist(data->cookies->cookies);
        data->cookies->cookies = NULL;
        data->cookies->numcookies = 0;
      }
      break;
    }