diff options
| author | Raul Marin <git@rmr.ninja> | 2018-02-19 18:13:58 +0100 |
|---|---|---|
| committer | Raul Marin <git@rmr.ninja> | 2018-02-19 18:13:58 +0100 |
| commit | 4ce25c3762f1247916a51e0bda081bb3d738263a (patch) | |
| tree | aee70a36571fec580a2e9c1b1cf445440e701745 /src | |
| parent | 6f50a7ffcb3494141e5f361e4c976e5cd32d4488 (diff) | |
| download | PROJ-4ce25c3762f1247916a51e0bda081bb3d738263a.tar.gz PROJ-4ce25c3762f1247916a51e0bda081bb3d738263a.zip | |
proj_errno_reset: Also reset pj_errno
Diffstat (limited to 'src')
| -rw-r--r-- | src/proj_4D_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proj_4D_api.c b/src/proj_4D_api.c index dab4b409..fb20978b 100644 --- a/src/proj_4D_api.c +++ b/src/proj_4D_api.c @@ -734,6 +734,7 @@ int proj_errno_reset (const PJ *P) { pj_ctx_set_errno (pj_get_ctx ((PJ *) P), 0); errno = 0; + pj_errno = 0; return last_errno; } |
