Skip to content

Commit ceafce9

Browse files
committed
Copy CPL_ERROR_SEPARATOR value
1 parent 4ad91bf commit ceafce9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

port/cpl_error.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,7 @@ void CPL_STDCALL CPLDefaultErrorHandler(CPLErr eErrClass, CPLErrorNum nError,
10241024
// is considered as failing the job. This is rarely the intended
10251025
// behavior
10261026
pszErrorSeparator = CPLGetConfigOption("CPL_ERROR_SEPARATOR", ":");
1027+
pszErrorSeparator = CPLStrdup(pszSep);
10271028
}
10281029

10291030
nCount++;

0 commit comments

Comments
 (0)