зеркало из https://github.com/mozilla/pjs.git
fixes bug 338332 "netwerk/test/TestCookie logic error?" patch by davel, r=darin
This commit is contained in:
Родитель
07b9556dd1
Коммит
731b546dd1
|
@ -115,7 +115,7 @@ CheckResult(const char *aLhs, PRUint32 aRule, const char *aRhs = nsnull)
|
|||
{
|
||||
switch (aRule) {
|
||||
case MUST_BE_NULL:
|
||||
return !aLhs;
|
||||
return !aLhs || !*aLhs;
|
||||
|
||||
case MUST_EQUAL:
|
||||
return !PL_strcmp(aLhs, aRhs);
|
||||
|
|
Загрузка…
Ссылка в новой задаче