[geos-commits] r2235 - trunk/capi
svn_geos at osgeo.org
svn_geos at osgeo.org
Tue Jan 13 14:23:42 EST 2009
Author: pramsey
Date: 2009-01-13 14:23:42 -0500 (Tue, 13 Jan 2009)
New Revision: 2235
Modified:
trunk/capi/geos_ts_c.cpp
Log:
Change return values for GEOSWKBWriter_getIncludeSRID_r to match function signature.
Modified: trunk/capi/geos_ts_c.cpp
===================================================================
--- trunk/capi/geos_ts_c.cpp 2009-01-13 17:04:05 UTC (rev 2234)
+++ trunk/capi/geos_ts_c.cpp 2009-01-13 19:23:42 UTC (rev 2235)
@@ -3679,13 +3679,13 @@
if( extHandle == NULL )
{
- return NULL;
+ return -1;
}
handle = (GEOSContextHandleInternal_t*)extHandle;
if( handle->initialized == 0 )
{
- return NULL;
+ return -1;
}
try
@@ -3696,7 +3696,7 @@
catch (...)
{
handle->ERROR_MESSAGE("Unknown exception thrown");
- return NULL;
+ return -1;
}
}
More information about the geos-commits
mailing list