[no subject]



GdomeNode *_macs_cf_descend(const char *key, GdomeNode *parent) {
  GdomeDOMString *dkey=NULL, *s=NULL;
  GdomeNodeList *kids;
  GdomeNode *n;
  int i;

  gdome_n_nodeName(parent,&_macs_cf_e); /* <--- gratuitous but necessary */
  kids=gdome_n_childNodes(parent,&_macs_cf_e);
  ...
  if (!n) { /* Miss. Search for default. */
    dkey=gdome_str_mkref("default");
    for (i=0; (n=gdome_nl_item(kids,i,&_macs_cf_e)); i++) {
      s=gdome_n_nodeName(n,&_macs_cf_e); /* <--- LINE 151 */
      if (gdome_str_equalIgnoreCase(dkey,s)) break; /* Hit. */
      gdome_str_unref(s);
    }
    if (s) { gdome_str_unref(s); s=NULL; }
  }
  ...
}
-- 
Be braver -- you can't cross a chasm in two small leaps.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]