From: solar Date: Tue, 16 May 2006 05:39:06 +0000 (+0000) Subject: Bracing error; fixed. X-Git-Tag: v0.5~194 X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=519443d45a417a108fc47caaf790efc963d8d3f6 Bracing error; fixed. --- 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: