Permalink
Browse files

mappostgis: fix forgotten pointer dereference

  • Loading branch information...
gogglesguy committed Aug 20, 2018
1 parent c59ab11 commit 0f3a648fc3d74d34baf928096c0b8ebd1ebc8150
Showing with 1 addition and 1 deletion.
  1. +1 −1 mappostgis.c
@@ -1119,7 +1119,7 @@ msPostGISRetrieveVersion(PGconn *pgconn)
ptr = strVersion;
strParts[j++] = strVersion;
while( ptr != '\0' && j < 3 ) {
while( *ptr != '\0' && j < 3 ) {
if ( *ptr == '.' ) {
*ptr = '\0';
strParts[j++] = ptr + 1;

0 comments on commit 0f3a648

Please sign in to comment.