Fixing build breakage.

This commit is contained in:
dp%netscape.com 2000-02-01 08:03:42 +00:00
parent df6ebdca9d
commit 620faed348

View File

@ -69,7 +69,7 @@ NS_IMETHODIMP nsBasicStreamGenerator::GetByte(PRUint32 offset, PRUint8 *retval)
{
NS_ENSURE_ARG_POINTER(retval);
nsresult rv = NS_OK;
if (!((const char *)mPassword))
if (mPassword.Length() == 0)
{
// First time we need the password. Get it.
if (!mPasswordSink) return NS_ERROR_FAILURE;