You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ab...@locus.apache.org on 2000/01/18 00:38:06 UTC
cvs commit: xml-xerces/c/src/util XMLURL.cpp
abagchi 00/01/17 15:38:06
Modified: c/src/util XMLURL.cpp
Log:
Changed string "localhost" to XMLUni::fgLocalHostString
Revision Changes Path
1.2 +8 -2 xml-xerces/c/src/util/XMLURL.cpp
Index: XMLURL.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/XMLURL.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XMLURL.cpp 2000/01/15 01:26:17 1.1
+++ XMLURL.cpp 2000/01/17 23:38:06 1.2
@@ -56,6 +56,9 @@
/**
* $Log: XMLURL.cpp,v $
+ * Revision 1.2 2000/01/17 23:38:06 abagchi
+ * Changed string "localhost" to XMLUni::fgLocalHostString
+ *
* Revision 1.1 2000/01/15 01:26:17 rahulj
* Added support for HTTP to the parser using libWWW 5.2.8.
* Renamed URL.[ch]pp to XMLURL.[ch]pp and like wise for the class name.
@@ -481,7 +484,7 @@
//
if (fProtocol == XMLURL::File)
{
- if (!fHost || !XMLString::compareIString(fHost, L"localhost"))
+ if (!fHost || !XMLString::compareIString(fHost, XMLUni::fgLocalHostString))
{
//
// We have to play a little trick here. If its really a Windows