Fixed generation of BRPROF cookie string when it's the first cookie.

This commit is contained in:
waterson%netscape.com 1999-04-01 06:42:08 +00:00
parent 2041bbcc79
commit 0f6b37dd45

View File

@ -1859,7 +1859,8 @@ NET_GetCookie(MWContext * context, char * address)
char* profile;
if (BP_GetProfile(&profile)) {
if (! first)
StrAllocCat(rv, "; BP=");
StrAllocCat(rv, "; ");
StrAllocCat(rv, "BP=");
StrAllocCat(rv, profile);
PL_strfree(profile);
}