fixed TIFFErrorExit() to TIFFErrorExt()

This commit is contained in:
Frank Warmerdam 2005-12-21 15:55:49 +00:00
parent 0e1df0641f
commit 608412f5c7

View File

@ -1,4 +1,4 @@
/* $Id: tif_dir.c,v 1.62 2005-12-21 14:24:41 dron Exp $ */ /* $Id: tif_dir.c,v 1.63 2005-12-21 15:55:49 fwarmerdam Exp $ */
/* /*
* Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1988-1997 Sam Leffler
@ -1244,8 +1244,8 @@ TIFFUnlinkDirectory(TIFF* tif, tdir_t dirn)
tdir_t n; tdir_t n;
if (tif->tif_mode == O_RDONLY) { if (tif->tif_mode == O_RDONLY) {
TIFFErrorExit(tif->tif_clientdata, module, TIFFErrorExt(tif->tif_clientdata, module,
"Can not unlink directory in read-only file"); "Can not unlink directory in read-only file");
return (0); return (0);
} }
/* /*