From: solar Date: Tue, 16 May 2006 05:39:06 +0000 (+0000) Subject: Bracing error; fixed. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=a275c16a6f33c04fb77c2df83d41a7b024389bfa;p=fw%2Fpdclib Bracing error; fixed. git-svn-id: https://srv7.svn-repos.de/dev34/pdclib/trunk@199 546481bc-9713-0410-bf18-d3337bbf4a3e --- 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: