[Tile-serving] [osm2pgsql] Make more of osm2pgsql threading aware (#110)

Sarah Hoffmann notifications at github.com
Sun Dec 15 22:01:36 UTC 2013


>      }
>  
> -    return 0;
> +    return ctx;
>  #else
>      fprintf(stderr,"Error: Could not init lua tag transform, as lua support was not compiled into this version\n");
>      return 1;

Are we talking about the same line? `return 1` looks wrong if the function is supposed to return a pointer and that particular case (lua tag transform requested but not compiled in) is clearly an error condition.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/110/files#r8356550
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20131215/3a8bc128/attachment.html>


More information about the Tile-serving mailing list