Diff of /trunk/src/gpx.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 132 by harbaum, Tue Sep 8 12:28:24 2009 UTC revision 133 by harbaum, Mon Oct 12 20:27:55 2009 UTC
# Line 542  static tb_t *process_gpx_wpt_gc_tbs_trav Line 542  static tb_t *process_gpx_wpt_gc_tbs_trav
542    else    else
543      tb->ref = strdup("<NONE>");      tb->ref = strdup("<NONE>");
544    
545      if((prop = (char*)xmlTextReaderGetAttribute(reader, BAD_CAST "id")))
546        tb->id = atoi(prop);
547    
548    /* process all sub-nodes */    /* process all sub-nodes */
549    int depth = xmlTextReaderDepth(reader);    int depth = xmlTextReaderDepth(reader);
550    int ret = xmlTextReaderRead(reader);    int ret = xmlTextReaderRead(reader);

Legend:
Removed from v.132  
changed lines
  Added in v.133