output: Move text_item and group_item usage closer to the SPV model.
[pspp] / src / libpspp / inflate.c
index afe64a63906b76f6af30e988e2244f4fdd47e8ad..0396674b1a8b12ecccd5c2d4c088efaaa7af69d2 100644 (file)
@@ -60,8 +60,8 @@ inflate_init (struct zip_member *zm)
 {
   int r;
   struct inflator *inf = xzalloc (sizeof *inf);
-  
-  uint16_t flg = 0 ; 
+
+  uint16_t flg = 0 ;
   uint16_t cmf = 0x8; /* Always 8 for inflate */
 
   const uint16_t cinfo = 7;  /* log_2(Window size) - 8 */
@@ -84,7 +84,7 @@ inflate_init (struct zip_member *zm)
 
   if ( Z_OK != r)
     {
-      ds_put_format (zm->errs, _("Cannot initialize inflator: %s"), zError (r));
+      ds_put_format (zm->errmsgs, _("Cannot initialize inflator: %s"), zError (r));
       return false;
     }
 
@@ -116,7 +116,7 @@ inflate_read (struct zip_member *zm, void *buf, size_t n)
        }
 
       bytes_to_read = zm->comp_size - inf->ucomp_bytes_read;
-      
+
       if (bytes_to_read == 0)
        return 0;
 
@@ -138,8 +138,8 @@ inflate_read (struct zip_member *zm, void *buf, size_t n)
     {
       return n - inf->zss.avail_out;
     }
-  
-  ds_put_format (zm->errs, _("Error inflating: %s"), zError (r));
+
+  ds_put_format (zm->errmsgs, _("Error inflating: %s"), zError (r));
 
   return -1;
 }