]> mj.ucw.cz Git - libucw.git/commitdiff
Oops, a nasty bug has crept in.
authorMartin Mares <mj@ucw.cz>
Thu, 10 Feb 2005 22:31:31 +0000 (22:31 +0000)
committerMartin Mares <mj@ucw.cz>
Thu, 10 Feb 2005 22:31:31 +0000 (22:31 +0000)
lib/stkstring.c

index 316237476585510c8b549d1a4bdb0c5f9f12cbc3..30cff4c864b6f99aeac28db8ba776ee7ea1d8dda 100644 (file)
@@ -47,6 +47,7 @@ stk_printf_internal(char *fmt, ...)
        return l+1;
       else
        stk_printf_len = MAX(stk_printf_len*2, l+1);
+      stk_printf_buf = xrealloc(stk_printf_buf, stk_printf_len);
     }
 }