Author: Dieter Buerssner
Date: 14:20:53 05/11/04
Go up one level in this thread
On May 11, 2004 at 13:44:23, Robert Hyatt wrote:
>I added the "else goto ERROR_LABEL;" yesterday. I just removed it and
>everything seems to be working now. I can only guess that I added it in the
>wrong place...
Yes. You added it one line too late. The else goto ERROR_LABEL matches the
if (NULL == fp){
... }
else goto ERROR_LABEL;
Which goes to the error label when everything is ok. the else should match the
if (NULL != pszFileName) {
... }
else goto ERROR_LABEL;
Regards,
Dieter
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.