From 9ffdd8c09f841ada1306205e5c3f58f64dba70d1 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 7 Apr 2014 14:39:56 +0000 Subject: [PATCH] Re-add printing return from puts with POSTGIS_DEBUG_LEVEL defined git-svn-id: http://svn.osgeo.org/postgis/trunk@12429 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/pgsql2shp-core.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/loader/pgsql2shp-core.c b/loader/pgsql2shp-core.c index e681fa631..fc109d36b 100644 --- a/loader/pgsql2shp-core.c +++ b/loader/pgsql2shp-core.c @@ -833,8 +833,13 @@ projFileCreate(SHPDUMPERSTATE *state) { return 0; } - fputs (srtext, fp); - LWDEBUGF(3, "\n result proj SRText is %s .\n", srtext); + { +#if POSTGIS_DEBUG_LEVEL > 0 + int result = +#endif + fputs (srtext,fp); + LWDEBUGF(3, "\n result %d proj SRText is %s .\n", result, srtext); + } fclose( fp ); free( pszFullname ); } -- 2.50.1