Changeset 38285 in vbox for trunk/src/VBox/Runtime/common/misc
- Timestamp:
- Aug 2, 2011 6:50:37 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 73282
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/s3.cpp
r33540 r38285 355 355 *******************************************************************************/ 356 356 357 static xmlNodePtr rtS3FindNode(xmlNodePtr pNode, const char *pszName)357 static xmlNodePtr rtS3FindNode(xmlNodePtr pNode, const char *pszName) 358 358 { 359 359 pNode = pNode->xmlChildrenNode; 360 360 while (pNode != NULL) 361 361 { 362 /* Check this level */363 if ( (!xmlStrcmp(pNode->name, (const xmlChar *)pszName)))362 /* Check this level. */ 363 if (!xmlStrcmp(pNode->name, (const xmlChar *)pszName)) 364 364 return pNode; 365 /* Recursively check the childs of this node */ 365 366 /* Recursively check the children of this node. */ 366 367 xmlNodePtr pChildNode = rtS3FindNode(pNode, pszName); 367 368 if (pChildNode != NULL) 368 369 return pChildNode; 369 /* Next node*/ 370 371 /* Next node. */ 370 372 pNode = pNode->next; 371 373 }
Note:
See TracChangeset
for help on using the changeset viewer.