зеркало из https://github.com/mozilla/gecko-dev.git
oops, forgot this file from my previous checkin
This commit is contained in:
Родитель
d525a161a4
Коммит
8bb3bf7c46
|
@ -30,6 +30,7 @@
|
||||||
//
|
//
|
||||||
#if !defined(XP_MAC) || defined(MOZ_LDAP_XPCOM)
|
#if !defined(XP_MAC) || defined(MOZ_LDAP_XPCOM)
|
||||||
|
|
||||||
|
#include "nsString.h"
|
||||||
#include "nsLDAPAutoCompleteSession.h"
|
#include "nsLDAPAutoCompleteSession.h"
|
||||||
#include "nsIComponentManager.h"
|
#include "nsIComponentManager.h"
|
||||||
#include "nsIServiceManager.h"
|
#include "nsIServiceManager.h"
|
||||||
|
@ -484,7 +485,7 @@ nsLDAPAutoCompleteSession::OnLDAPSearchEntry(nsILDAPMessage *aMessage)
|
||||||
// just use the first value for the email attribute; subsequent values
|
// just use the first value for the email attribute; subsequent values
|
||||||
// are ignored. XXXdmose should do better than this; bug 76595.
|
// are ignored. XXXdmose should do better than this; bug 76595.
|
||||||
//
|
//
|
||||||
rv = item->SetValue(value.get());
|
rv = item->SetValue(value);
|
||||||
if (NS_FAILED(rv)) {
|
if (NS_FAILED(rv)) {
|
||||||
NS_ERROR("nsLDAPAutoCompleteSession::OnLDAPSearchEntry(): "
|
NS_ERROR("nsLDAPAutoCompleteSession::OnLDAPSearchEntry(): "
|
||||||
"item->SetValue failed");
|
"item->SetValue failed");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче