[poppler] glib/poppler-attachment.cc

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Sat Feb 4 02:20:17 PST 2012


 glib/poppler-attachment.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e074e526fa206403b84da5ce0f27d7357223c7ac
Author: Hib Eris <hib at hiberis.nl>
Date:   Tue Jan 31 13:02:16 2012 +0100

    Fix return value of poppler_attachment_save
    
    Fixes bug #45440.

diff --git a/glib/poppler-attachment.cc b/glib/poppler-attachment.cc
index d07f1ab..874bffb 100644
--- a/glib/poppler-attachment.cc
+++ b/glib/poppler-attachment.cc
@@ -210,7 +210,7 @@ poppler_attachment_save (PopplerAttachment  *attachment,
       return FALSE;
     }
 
-  return TRUE;
+  return result;
 }
 
 #define BUF_SIZE 1024


More information about the poppler mailing list