oops, forgot this file from my previous checkin

This commit is contained in:
alecf%netscape.com 2001-06-13 00:05:25 +00:00
Родитель d525a161a4
Коммит 8bb3bf7c46
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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");