From: Mark Cave-Ayland Date: Thu, 16 Jul 2009 21:24:01 +0000 (+0000) Subject: Commit patch for missing lw_asprintf() from #222. X-Git-Tag: 1.4.0~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c930dee7896226ed93ae9cf8d64e2147f1aab5cc;p=postgis Commit patch for missing lw_asprintf() from #222. git-svn-id: http://svn.osgeo.org/postgis/branches/1.4@4307 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/shp2pgsql-gui.c b/loader/shp2pgsql-gui.c index db7bbc567..07d106b77 100644 --- a/loader/shp2pgsql-gui.c +++ b/loader/shp2pgsql-gui.c @@ -336,7 +336,7 @@ pgui_read_destination(void) pg_geom = "the_geom"; } - if ( ! asprintf(&dest_string, "%s.%s", pg_schema, pg_table) ) + if ( ! lw_asprintf(&dest_string, "%s.%s", pg_schema, pg_table) ) { return NULL; }