oops, forgot this file from my previous checkin

git-svn-id: svn://10.0.0.236/trunk@97009 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com
2001-06-13 00:05:25 +00:00
parent b16b2a8e9f
commit 6268e49698

View File

@@ -30,6 +30,7 @@
//
#if !defined(XP_MAC) || defined(MOZ_LDAP_XPCOM)
#include "nsString.h"
#include "nsLDAPAutoCompleteSession.h"
#include "nsIComponentManager.h"
#include "nsIServiceManager.h"
@@ -484,7 +485,7 @@ nsLDAPAutoCompleteSession::OnLDAPSearchEntry(nsILDAPMessage *aMessage)
// just use the first value for the email attribute; subsequent values
// are ignored. XXXdmose should do better than this; bug 76595.
//
rv = item->SetValue(value.get());
rv = item->SetValue(value);
if (NS_FAILED(rv)) {
NS_ERROR("nsLDAPAutoCompleteSession::OnLDAPSearchEntry(): "
"item->SetValue failed");