about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-03-19 15:21:13 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-03-19 15:21:13 +0000
commitbafd5aa45a664883d58810ae49c0aa2d36c3e12e (patch)
tree1dd44ea64d191796445ac29ce002ae81aa2a1392
parent34895cc28fb303ba5a2c025a99626b6a481d0076 (diff)
downloadnetpbm-mirror-bafd5aa45a664883d58810ae49c0aa2d36c3e12e.tar.gz
netpbm-mirror-bafd5aa45a664883d58810ae49c0aa2d36c3e12e.tar.xz
netpbm-mirror-bafd5aa45a664883d58810ae49c0aa2d36c3e12e.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2920 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--converter/other/pamtotiff.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/converter/other/pamtotiff.c b/converter/other/pamtotiff.c
index 54540aa0..32057e55 100644
--- a/converter/other/pamtotiff.c
+++ b/converter/other/pamtotiff.c
@@ -996,9 +996,9 @@ copyBufferToStdout(int const tmpfileFd) {
 
 
 static void
-destroyTiffGenerator(WriteMethod const writeMethod,
-                     TIFF *      const tifP,
-                     int         const ofd) {
+closeTiffGenerator(WriteMethod const writeMethod,
+                   TIFF *      const tifP,
+                   int         const ofd) {
 
     TIFFFlushData(tifP);
 
@@ -1277,7 +1277,7 @@ main(int argc, const char *argv[]) {
         }
     }
 
-    destroyTiffGenerator(cmdline.writeMethod, tifP, ofd);
+    closeTiffGenerator(cmdline.writeMethod, tifP, ofd);
     pm_close(ifP);
 
     return 0;