Replace ftl by err.
This commit is contained in:
parent
16004f2ffe
commit
4103c6e659
@ -378,8 +378,10 @@ MPMarshalledUser *mpw_marshall_read_flat(
|
||||
importKeyID = strdup( headerValue );
|
||||
if (strcmp( headerName, "Algorithm" ) == 0) {
|
||||
int importAlgorithmInt = atoi( headerValue );
|
||||
if (importAlgorithmInt < MPAlgorithmVersionFirst || importAlgorithmInt > MPAlgorithmVersionLast)
|
||||
ftl( "Invalid algorithm version: %s\n", headerValue );
|
||||
if (importAlgorithmInt < MPAlgorithmVersionFirst || importAlgorithmInt > MPAlgorithmVersionLast) {
|
||||
err( "Invalid algorithm version: %s\n", headerValue );
|
||||
return false;
|
||||
}
|
||||
importAlgorithm = (MPAlgorithmVersion)importAlgorithmInt;
|
||||
}
|
||||
if (strcmp( headerName, "Default Type" ) == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user