From 519443d45a417a108fc47caaf790efc963d8d3f6 Mon Sep 17 00:00:00 2001 From: solar Date: Tue, 16 May 2006 05:39:06 +0000 Subject: [PATCH] Bracing error; fixed. --- functions/stdio/fopen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/stdio/fopen.c b/functions/stdio/fopen.c index f110944..ad8d876 100644 --- a/functions/stdio/fopen.c +++ b/functions/stdio/fopen.c @@ -81,7 +81,7 @@ FILE * fopen( const char * _PDCLIB_restrict filename, const char * _PDCLIB_restr rc->next = _PDCLIB_filelist; _PDCLIB_filelist = rc; /* Setting buffer. TODO: Check for unbuffered? */ - if ( ( rc->buffer = malloc( BUFSIZ ) ) == NULL goto fail; + if ( ( rc->buffer = malloc( BUFSIZ ) ) == NULL ) goto fail; /* TODO: Setting mbstate */ return rc; fail: -- 2.40.0