mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
Fixing build breakage.
This commit is contained in:
parent
df6ebdca9d
commit
620faed348
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user