Fix another typo in recent rewrite of message handlers
authorSandro Santilli <strk@keybit.net>
Tue, 17 Feb 2015 10:42:51 +0000 (10:42 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 17 Feb 2015 10:42:51 +0000 (10:42 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13225 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql-gui.c

index 42d18bcb4c71f6d1de4dbddc9cd552cd62618083..a5923f7136e9fa1cec06573c54dc3fd9a1e15a8f 100644 (file)
@@ -27,6 +27,8 @@
 #include "shp2pgsql-core.h"
 #include "pgsql2shp-core.h"
 
+#include "../liblwgeom/liblwgeom.h" /* for lw_asprintf */
+
 #define GUI_RCSID "shp2pgsql-gui $Revision$"
 #define SHAPEFIELDMAXWIDTH 60
 
@@ -205,7 +207,7 @@ enum
 
 /* Other */
 #define GUIMSG_LINE_MAXLEN 256
-static char *pgui_errmsg[GUIMSG_LINE_MAXLEN+1];
+static char pgui_errmsg[GUIMSG_LINE_MAXLEN+1];
 static PGconn *pg_connection = NULL;
 static SHPCONNECTIONCONFIG *conn = NULL;
 static SHPLOADERCONFIG *global_loader_config = NULL;