From: Pavel Charvat Date: Thu, 15 May 2014 07:12:53 +0000 (+0200) Subject: Null fastbuf: Don't forget to set a fastbuf's name. X-Git-Tag: v6.0~37^2 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=245f23563294da8ee632aa1d7804e48efabbb992;p=libucw.git Null fastbuf: Don't forget to set a fastbuf's name. --- diff --git a/ucw/fb-null.c b/ucw/fb-null.c index 6f0a40a2..8edc5a4d 100644 --- a/ucw/fb-null.c +++ b/ucw/fb-null.c @@ -21,6 +21,7 @@ struct fastbuf *fbnull_open(uns bufsize) { struct fastbuf *b = xmalloc(sizeof(*b) + bufsize); bzero(b, sizeof(*b)); + b->name = ""; b->close = fbnull_close; fbnull_start(b, (byte *)(b + 1), bufsize); return b;