From: Paul Ramsey Date: Sat, 25 Feb 2012 20:35:26 +0000 (+0000) Subject: Minor update to comments. X-Git-Tag: 2.0.0beta1~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72f0ad514386b3bcaca56106d6b55764309ed315;p=postgis Minor update to comments. git-svn-id: http://svn.osgeo.org/postgis/trunk@9302 b70326c6-7e19-0410-871a-916f4a2858ee --- 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);