зеркало из https://github.com/mozilla/gecko-dev.git
fixing directory bustage (nsCRT string)
/home/timeless/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp: In method `nsresult nsLDAPChannel::OnLDAPBind(nsILDAPMessage *)': /home/timeless/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp:796: syntax error before `::' /home/timeless/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp:798: confused by earlier errors, bailing out gmake[4]: *** [nsLDAPChannel.o] Error 1 gmake[4]: Leaving directory `/home/timeless/mozilla/obj-xlib-i386-unknown-freebsd4.4/directory/xpcom/base/src' if (nsCRT::strlen(baseDn) == 0) {
This commit is contained in:
Родитель
e7988e8b2e
Коммит
c277979aa4
|
@ -793,7 +793,7 @@ nsLDAPChannel::OnLDAPBind(nsILDAPMessage *aMessage)
|
|||
//
|
||||
rv = url->GetDn(getter_Copies(baseDn));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
if (nsCRT::strlen(baseDn) == 0) {
|
||||
if (baseDn.IsEmpty()) {
|
||||
return NS_ERROR_MALFORMED_URI;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче