From 91105f4792b3813f002754c68741e6fb1046a1cf Mon Sep 17 00:00:00 2001 From: "rjc%netscape.com" Date: Tue, 25 Aug 1998 01:57:51 +0000 Subject: [PATCH] If not set, default to data being local. --- modules/rdf/src/ht.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/rdf/src/ht.c b/modules/rdf/src/ht.c index 242b1a43054f..096120aa8982 100644 --- a/modules/rdf/src/ht.c +++ b/modules/rdf/src/ht.c @@ -312,7 +312,7 @@ updateViewItem(HT_Resource node) PR_PUBLIC_API(PRBool) HT_IsLocalData (HT_Resource node) { - PRBool isLocal = PR_FALSE; + PRBool isLocal = PR_TRUE; char *origin; XP_ASSERT(node != NULL); @@ -321,10 +321,10 @@ HT_IsLocalData (HT_Resource node) { if ((origin = node->dataSource) != NULL) { - if (startsWith("rdf:lfs", origin) || - startsWith("rdf:localStore", origin)) + if ((!startsWith("rdf:lfs", origin)) && + (!startsWith("rdf:localStore", origin))) { - isLocal = PR_TRUE; + isLocal = PR_FALSE; } } }