diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2020-11-18 10:43:16 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2020-11-20 16:40:40 +0100 |
| commit | 56f0ad70054eea15e9671cd67aafd14bf7c11c74 (patch) | |
| tree | 0b12d37bc05a327b3db460d9b81eb11a32302737 /src/apps/cct.cpp | |
| parent | 43efca4ab87fb37a0931edcb6be11c0bd3784098 (diff) | |
| download | PROJ-56f0ad70054eea15e9671cd67aafd14bf7c11c74.tar.gz PROJ-56f0ad70054eea15e9671cd67aafd14bf7c11c74.zip | |
Remove pj_errno and related functions
Diffstat (limited to 'src/apps/cct.cpp')
| -rw-r--r-- | src/apps/cct.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apps/cct.cpp b/src/apps/cct.cpp index e63a5fc2..92867b3a 100644 --- a/src/apps/cct.cpp +++ b/src/apps/cct.cpp @@ -360,7 +360,7 @@ int main(int argc, char **argv) { if (nullptr==P) { print (PJ_LOG_ERROR, "%s: Bad transformation arguments - (%s)\n '%s -h' for help", - o->progname, pj_strerrno (proj_errno(P)), o->progname); + o->progname, proj_errno_string (proj_errno(P)), o->progname); free (o); if (stdout != fout) fclose (fout); @@ -435,7 +435,7 @@ int main(int argc, char **argv) { if (HUGE_VAL==point.xyzt.x) { /* transformation error */ print (PJ_LOG_NONE, "# Record %d TRANSFORMATION ERROR: %s (%s)", - (int) o->record_index, buf, pj_strerrno (proj_errno(P))); + (int) o->record_index, buf, proj_errno_string (proj_errno(P))); proj_errno_restore (P, err); continue; } |
