]> Dogcows Code - chaz/tar/commitdiff
(add_char_segment): Fix length assignement
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 8 Jun 2006 09:50:56 +0000 (09:50 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 8 Jun 2006 09:50:56 +0000 (09:50 +0000)
src/transform.c

index 8098ae23f51ed5c15dfb233c08f494a9a525577c..23edd9ea631a302d7b7ec846b240a1f0bf1b407a 100644 (file)
@@ -103,7 +103,7 @@ add_char_segment (int chr)
   segm->v.literal.ptr = xmalloc (2);
   segm->v.literal.ptr[0] = chr;
   segm->v.literal.ptr[1] = 0;
-  segm->v.literal.size = 2;
+  segm->v.literal.size = 1;
 }
 
 static void
This page took 0.027819 seconds and 4 git commands to generate.