while (val = RDF_NextValue(c)) {
while ((val = RDF_NextValue(c)) != NULL) {
itemMatchesFind (RDF r, RDF_Resource u, RDF_Resource s, void* v,				RDF_Resource match, RDF_ValueType type){	RDF_Cursor	c;	void		*val;    PRBool		ok = 0;  if ((s == gWebData->RDF_URL) && (type == RDF_STRING_TYPE))  {	val = resourceID(u);	ok = matchStrings(match, val, v);	return(ok);  }  c = RDF_GetTargets(r, u, s, type, 1);  if (c != NULL) {    while (val = RDF_NextValue(c)) {      if (type == RDF_RESOURCE_TYPE) {        ok = (u == v);      } else if (type == RDF_STRING_TYPE) {      	if (s == gWebData->RDF_URL)      	{      		val = resourceID(u);      	}      	ok = matchStrings(match, val, v);      }      if (ok) {        RDF_DisposeCursor(c);        return 1;      }    }    RDF_DisposeCursor(c);  }  return 0;}