From: Kaj-Michael Lang Date: Sat, 21 Jul 2007 17:59:52 +0000 (+0300) Subject: misc X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9119e239df7ca481c1044141b5adfd6bd404e217;p=mapper misc --- diff --git a/src/osm.c b/src/osm.c index 3bbab09..805ef51 100644 --- a/src/osm.c +++ b/src/osm.c @@ -898,9 +898,9 @@ switch (t) { if (node_cnt % 262140==0) { g_printf("Nodes: %d/%d\n", node_cnt, noded_cnt); } - if (cnode->data && cnode->data->type==NODE_PLAIN) + if (cnode->data && cnode->data->type==NODE_PLAIN) { osm_free_node_data(cnode); - else if (cnode->data) { + } else if (cnode->data) { osm_poi=g_slist_prepend(osm_poi, cnode); } cnode=NULL;