Unescaping given URL

git-svn-id: svn://10.0.0.236/trunk@118864 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mostafah%oeone.com 2002-04-12 16:25:27 +00:00
parent 20e89a8c29
commit 4527b48616

View File

@ -50,6 +50,7 @@
#include "nsString.h"
#include "nsIURL.h"
#include "nsNetCID.h"
#include "nsEscape.h"
extern "C" {
#include "icalss.h"
@ -644,6 +645,7 @@ oeICalImpl::SetServer( const char *str ) {
url->SetSpec( filePath );
url->GetFilePath( filePath );
strcpy( serveraddr, filePath.get() );
NS_UnescapeURL( serveraddr );
} else
strcpy( serveraddr, str );