From 6f08c9eedb5622a50820fbc6d440d2fb122bb342 Mon Sep 17 00:00:00 2001 From: "bugzilla%standard8.demon.co.uk" Date: Thu, 13 Dec 2007 22:33:24 +0000 Subject: [PATCH] Bug 379070 --> Make address book nsCRT free. p=Prasad Sunkari,r=me,sr=mscott --- mailnews/addrbook/src/nsAbManager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mailnews/addrbook/src/nsAbManager.cpp b/mailnews/addrbook/src/nsAbManager.cpp index 18f2d059a6b..609602dfd15 100644 --- a/mailnews/addrbook/src/nsAbManager.cpp +++ b/mailnews/addrbook/src/nsAbManager.cpp @@ -87,7 +87,7 @@ #include "nsIDocShell.h" #include "nsAutoPtr.h" #include "nsIMsgVCardService.h" -#include "nsCRT.h" +#include "nsCRTGlue.h" #include "nsIAbLDAPAttributeMap.h" #ifdef MOZ_XUL_APP @@ -957,13 +957,13 @@ PRBool nsAddressBook::IsSafeLDIFString(const PRUnichar *aStr) return PR_FALSE; PRUint32 i; - PRUint32 len = nsCRT::strlen(aStr); + PRUint32 len = NS_strlen(aStr); for (i=0; i uri; nsCOMPtr aChannel = do_QueryInterface(request); if (!aChannel) return NS_ERROR_FAILURE; @@ -1147,7 +1147,7 @@ NS_IMETHODIMP nsAddressBook::HandleContent(const char * aContentType, rv = NS_OK; } } - else if (nsCRT::strcasecmp(aContentType, "text/x-vcard") == 0) { + else if (PL_strcasecmp(aContentType, "text/x-vcard") == 0) { // create a vcard stream listener that can parse the data stream // and bring up the appropriate UI