X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=ucw%2Ffb-temp.c;h=05fb655b3f65934afa6a1d40c59ad75e6992d20b;hb=86b74f27a95b617008575a9088e4c675e9f956d6;hp=f3c574b6bb047d57851e26747dc2dac11722bd85;hpb=cf90f199ff58a92dea4e52bbac0c2e91b37b58dc;p=libucw.git diff --git a/ucw/fb-temp.c b/ucw/fb-temp.c index f3c574b6..05fb655b 100644 --- a/ucw/fb-temp.c +++ b/ucw/fb-temp.c @@ -50,6 +50,7 @@ int main(int argc, char **argv) die("Hey, whaddya want?"); struct fastbuf *f = bopen_tmp(65536); + ASSERT(f && f->name); bputsn(f, "Hello, world!"); bclose(f); return 0;