From: Pavel Charvat Date: Mon, 18 Apr 2011 13:08:37 +0000 (+0200) Subject: fb-grow: Fixed a stupid typo. X-Git-Tag: v5.0~74^2~20 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=f46a288be7a8572b20432833104099305dcd6abd;p=libucw.git fb-grow: Fixed a stupid typo. --- diff --git a/ucw/fb-grow.c b/ucw/fb-grow.c index 4912435b..ab80be0b 100644 --- a/ucw/fb-grow.c +++ b/ucw/fb-grow.c @@ -115,7 +115,7 @@ uns fbgrow_get_buf(struct fastbuf *b, byte **buf) { byte *end = FB_GBUF(b)->end; end = MAX(end, b->bptr); - if (*buf) + if (buf) *buf = b->buffer; return end - b->buffer; }