[Redbutton-devel] SF.net SVN: redbutton: [30] redbutton-browser/trunk/MHEGBackend.c
Brought to you by:
skilvington
|
From: <ski...@us...> - 2006-03-26 13:45:17
|
Revision: 30 Author: skilvington Date: 2006-03-26 05:45:10 -0800 (Sun, 26 Mar 2006) ViewCVS: http://svn.sourceforge.net/redbutton/?rev=30&view=rev Log Message: ----------- avoid potential fclose(NULL) Modified Paths: -------------- redbutton-browser/trunk/MHEGBackend.c Modified: redbutton-browser/trunk/MHEGBackend.c =================================================================== --- redbutton-browser/trunk/MHEGBackend.c 2006-03-25 14:31:57 UTC (rev 29) +++ redbutton-browser/trunk/MHEGBackend.c 2006-03-26 13:45:10 UTC (rev 30) @@ -510,7 +510,7 @@ || fgets(pids, sizeof(pids), sock) == NULL) { fclose(sock); - sock = NULL; + return NULL; } /* update the PID variables */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |