Index: trunk/src/libcschem/abstract.c =================================================================== --- trunk/src/libcschem/abstract.c (revision 706) +++ trunk/src/libcschem/abstract.c (revision 707) @@ -125,8 +125,8 @@ fprintf(f, "%s %s\n", prefix, comp->name); fprintf(f, "%s Ports:\n", prefix); - for(pe = htsp_first(&comp->ports); pe != NULL; pe = htsp_next(&comp->ports, e)) { - csch_aport_t *port = e->value; + for(pe = htsp_first(&comp->ports); pe != NULL; pe = htsp_next(&comp->ports, pe)) { + csch_aport_t *port = pe->value; fprintf(f, "%s %s\n", prefix, port->name); dump_attr(&port->hdr.attr, f, prefix, " "); }