From 72f0ad514386b3bcaca56106d6b55764309ed315 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Sat, 25 Feb 2012 20:35:26 +0000 Subject: [PATCH] Minor update to comments. git-svn-id: http://svn.osgeo.org/postgis/trunk@9302 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/shp2pgsql-cli.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/loader/shp2pgsql-cli.c b/loader/shp2pgsql-cli.c index b62ff6d63..618d14f4e 100644 --- a/loader/shp2pgsql-cli.c +++ b/loader/shp2pgsql-cli.c @@ -262,7 +262,7 @@ main (int argc, char **argv) char *strptr = argv[pgis_optind]; char *chrptr = strchr(strptr, '.'); - /* Schema qualified table name */ + /* OK, this is a schema-qualified table name... */ if (chrptr) { if ( chrptr == strptr ) @@ -271,8 +271,8 @@ main (int argc, char **argv) usage(); exit(0); } - /* Null terminate the '.' */ - *chrptr = 0; + /* Null terminate at the '.' */ + *chrptr = '\0'; /* Copy in the parts */ config->schema = strdup(strptr); config->table = strdup(chrptr+1); -- 2.40.0