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

git-svn-id: svn://10.0.0.236/trunk@25826 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com
1999-04-01 06:42:08 +00:00
parent 627768174d
commit feb1ebee77

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);
}